From 3700a24e1ac74f1bf0bbf47ccbf89ecf66e931fe Mon Sep 17 00:00:00 2001 From: Timotheus Kampik Date: Sat, 24 Feb 2018 16:03:01 +0100 Subject: [PATCH] #4244 update Python version in intersphinx doc examples --- doc/ext/intersphinx.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/ext/intersphinx.rst b/doc/ext/intersphinx.rst index fb0114fc4..702b139f6 100644 --- a/doc/ext/intersphinx.rst +++ b/doc/ext/intersphinx.rst @@ -84,7 +84,7 @@ linking: To add links to modules and objects in the Python standard library documentation, use:: - intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None)} + intersphinx_mapping = {'python': ('https://docs.python.org/3.6', None)} This will download the corresponding :file:`objects.inv` file from the Internet and generate links to the pages under the given URI. The downloaded @@ -94,12 +94,12 @@ linking: A second example, showing the meaning of a non-``None`` value of the second tuple item:: - intersphinx_mapping = {'python': ('https://docs.python.org/3.4', + intersphinx_mapping = {'python': ('https://docs.python.org/3.6', 'python-inv.txt')} This will read the inventory from :file:`python-inv.txt` in the source directory, but still generate links to the pages under - ``https://docs.python.org/3.4``. It is up to you to update the inventory file + ``https://docs.python.org/3.6``. It is up to you to update the inventory file as new objects are added to the Python documentation. **Multiple target for the inventory** @@ -113,7 +113,7 @@ linking: this to specify mirror sites for server downtime of the primary inventory:: - intersphinx_mapping = {'python': ('https://docs.python.org/3.4', + intersphinx_mapping = {'python': ('https://docs.python.org/3.6', (None, 'python-inv.txt'))} .. confval:: intersphinx_cache_limit