summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-03-13 12:53:28 +0900
committerGitHub <noreply@github.com>2021-03-13 12:53:28 +0900
commit2e431976018267c76751aa64a8af9101bf95baaf (patch)
tree8da9f116f7fc2033bf8fc440e0139d509226f041
parent796d36fd627c5a581f4de84b6f45258e06331130 (diff)
parent1232a14de817a18146c505d6956e3fd73fee358d (diff)
downloadsphinx-git-2e431976018267c76751aa64a8af9101bf95baaf.tar.gz
Merge pull request #8986 from webknjaz/bugfixes/8985-new-style-intersphinx-mapping
Make `conf.py` template use new-style interpshinx
-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 0c5285f9e..f1da41c4a 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 %}