File: use-local-python3-doc-for-cross-references

package info (click to toggle)
pythondialog 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,236 kB
  • ctags: 417
  • sloc: python: 3,625; makefile: 162
file content (17 lines) | stat: -rw-r--r-- 572 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Use local doc from python3-doc for cross references
Author: Florent Rougon <f.rougon@free.fr>
Forwarded: not-needed
Last-Update: 2014-10-17

--- a/doc/conf.py
+++ b/doc/conf.py
@@ -35,7 +35,8 @@
     'sphinx.ext.viewcode',
 ]
 
-intersphinx_mapping = {'python': ('http://docs.python.org/3', None)}
+intersphinx_mapping = {'python': ('file:///usr/share/doc/python3/html',
+                                  '/usr/share/doc/python3/html/objects.inv')}
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']