mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Enable linking directly to python's documentation.
This commit is contained in:
parent
59632dec56
commit
e7be91fc87
1 changed files with 8 additions and 0 deletions
|
@ -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.']
|
||||
|
|
Loading…
Add table
Reference in a new issue