Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2021-03-12 02:49:49 +0300
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2021-03-12 02:49:49 +0300
commit1232a14de817a18146c505d6956e3fd73fee358d (patch)
treed7fe1fdeb4df5c575564921018816b333e64f737 /sphinx/templates
parentf7768d8282e2051596b5df54ecf144505cb8f4f5 (diff)
Make `conf.py` template use new-style interpshinx
Fixes #8985
Diffstat (limited to 'sphinx/templates')
-rw-r--r--sphinx/templates/quickstart/conf.py_t4
1 files changed, 3 insertions, 1 deletions
diff --git a/sphinx/templates/quickstart/conf.py_t b/sphinx/templates/quickstart/conf.py_t
index 8a20fc4c8..42a6fa3ef 100644
--- a/sphinx/templates/quickstart/conf.py_t
+++ b/sphinx/templates/quickstart/conf.py_t
@@ -105,7 +105,9 @@ html_static_path = ['{{ dot }}static']
# -- Options for intersphinx extension ---------------------------------------
# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'https://docs.python.org/3/': None}
+intersphinx_mapping = {
+ 'python': ('https://docs.python.org/3', None),
+}
{%- endif %}
{%- if 'sphinx.ext.todo' in extensions %}