File: use-local-intersphinx-inventory.patch

package info (click to toggle)
python-gevent 1.0.1-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,948 kB
  • ctags: 12,954
  • sloc: python: 39,061; ansic: 26,289; sh: 13,582; makefile: 833; awk: 18
file content (19 lines) | stat: -rw-r--r-- 777 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: use local intersphinx inventory
 Use the offline copy under debian/ instead downloading it.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Forwarded: not-needed
Last-Update: 2013-03-22

---

--- python-gevent-0.13.7.orig/doc/conf.py
+++ python-gevent-0.13.7/doc/conf.py
@@ -38,7 +38,7 @@ if not os.path.exists('changelog.rst') a
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage', 'sphinx.ext.intersphinx', 'mysphinxext']
 
-intersphinx_mapping = {'http://docs.python.org/': None}
+intersphinx_mapping = {'http://docs.python.org/': '../debian/python.inv'}
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']