From e83f6a3ecc982d69c9bc4e789cc40e2ea9b9f0d4 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 23 May 2010 11:16:24 +0200 Subject: [PATCH 1/2] Fix file name in example. --- doc/ext/intersphinx.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ext/intersphinx.rst b/doc/ext/intersphinx.rst index b82a08f19..29ba45a6f 100644 --- a/doc/ext/intersphinx.rst +++ b/doc/ext/intersphinx.rst @@ -55,7 +55,7 @@ linking: intersphinx_mapping = {'http://docs.python.org/dev': 'python-inv.txt'} - This will read the inventory from :file:`python.inv` in the source + This will read the inventory from :file:`python-inv.txt` in the source directory, but still generate links to the pages under ``http://docs.python.org/dev``. It is up to you to update the inventory file as new objects are added to the Python documentation. From 866d8381562b4120f1d178d1b129833c85eeaa44 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 23 May 2010 11:16:48 +0200 Subject: [PATCH 2/2] No need to link to dev docs anymore. --- doc/ext/intersphinx.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/ext/intersphinx.rst b/doc/ext/intersphinx.rst index 29ba45a6f..6a079cd48 100644 --- a/doc/ext/intersphinx.rst +++ b/doc/ext/intersphinx.rst @@ -44,7 +44,7 @@ linking: An example, to add links to modules and objects in the Python standard library documentation:: - intersphinx_mapping = {'http://docs.python.org/dev': None} + intersphinx_mapping = {'http://docs.python.org/': 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 @@ -53,11 +53,11 @@ linking: A second example, showing the meaning of a non-``None`` value:: - intersphinx_mapping = {'http://docs.python.org/dev': 'python-inv.txt'} + intersphinx_mapping = {'http://docs.python.org/': '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 - ``http://docs.python.org/dev``. It is up to you to update the inventory file + ``http://docs.python.org/``. It is up to you to update the inventory file as new objects are added to the Python documentation. When fetching remote inventory files, proxy settings will be read from