1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
From: Brian May <bam@debian.org>
Date: Sat, 24 Jun 2017 17:05:58 +1000
Subject: Use locally installed documentation sources
---
docs/conf.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index ceb935f..3c8c1c1 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -138,11 +138,11 @@ pygments_style = 'trac'
# Links to Python's docs should reference the most recent version of the 3.x
# branch, which is located at this URL.
intersphinx_mapping = {
- 'python': ('https://docs.python.org/3/', None),
- 'sphinx': ('http://sphinx-doc.org/', None),
- 'six': ('https://pythonhosted.org/six/', None),
- 'formtools': ('https://django-formtools.readthedocs.io/en/latest/', None),
- 'psycopg2': ('http://initd.org/psycopg/docs/', None),
+ 'python': ('/usr/share/doc/python-doc/html/', None),
+ 'sphinx': ('/usr/share/doc/sphinx-doc/html/', None),
+ 'six': ('/usr/share/doc/python-six-doc/html/', None),
+ 'formtools': ('/usr/share/doc/python-django-formtools-doc/html/', None),
+ 'psycopg2': ('/usr/share/doc/python-psycopg2-doc/html/', None),
}
# Python's docs don't change every week.
|