Enable linking directly to python's documentation.

This commit is contained in:
Pedro Algarvio 2013-07-23 16:39:55 +01:00
parent 59632dec56
commit e7be91fc87

View file

@ -89,6 +89,13 @@ import salt.version
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# ----- Intersphinx Settings ------------------------------------------------>
intersphinx_mapping = {
'python2': ('http://docs.python.org/2', None),
'python3': ('http://docs.python.org/3', None)
}
# <---- Intersphinx Settings -------------------------------------------------
# -- General configuration -----------------------------------------------------
project = 'Salt'
@ -106,6 +113,7 @@ extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.extlinks',
'sphinx.ext.intersphinx'
]
modindex_common_prefix = ['salt.']