Skip to content
Snippets Groups Projects
Commit 37eb63ec authored by Stefano Zacchiroli's avatar Stefano Zacchiroli
Browse files

sphinx configuration: use explicit prefix for Python stdlib

in doing so, switch to the current, non-obsolete format for specifying
intersphinx mappings
parent db135ffe
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ author = 'the Software Heritage developers'
# ones.
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.intersphinx',
# 'sphinx.ext.intersphinx',
'sphinxcontrib.httpdomain',
'sphinx.ext.extlinks']
......@@ -107,8 +107,8 @@ html_sidebars = {
}
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/3/': None}
# refer to the Python standard library.
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
# -- autodoc configuration ----------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment