aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-20 14:24:55 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-20 14:24:55 +0300
commit25aaaabe6372a0e30f42c8913d70b67efddc45fc (patch)
treed499d3d6593f81687228b196482612c739d88e2e
parentUpdate sphinx config (diff)
downloadgentoo-packages-25aaaabe6372a0e30f42c8913d70b67efddc45fc.tar.gz
gentoo-packages-25aaaabe6372a0e30f42c8913d70b67efddc45fc.tar.bz2
gentoo-packages-25aaaabe6372a0e30f42c8913d70b67efddc45fc.zip
Update sphinx config
-rw-r--r--docs/source/conf.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index a9e2d43..dc21c25 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -32,7 +32,11 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode']
+extensions = ['sphinx.ext.autodoc',
+ 'sphinx.ext.todo',
+ 'sphinx.ext.coverage',
+ 'sphinx.ext.viewcode',
+ 'sphinx.ext.intersphinx']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -291,3 +295,7 @@ epub_copyright = u'2012, Slava Bacherikov'
# Allow duplicate toc entries.
#epub_tocdup = True
autoclass_content = 'both'
+intersphinx_mapping = {
+ 'python': ('http://docs.python.org/2.7', None),
+ 'django': ('http://docs.djangoproject.com/en/1.4/', 'http://docs.djangoproject.com/en/1.4/_objects/'),
+ }