summaryrefslogtreecommitdiffstats
path: root/Doc/distutils
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2019-05-23 14:06:39 (GMT)
committerGitHub <noreply@github.com>2019-05-23 14:06:39 (GMT)
commite788057a9188ff37e232729815dfda2529079420 (patch)
tree056a26d585986d6c5a3321f7ce74aa6a4878b108 /Doc/distutils
parent394119afc6611f17bac96f5ec6fefa00000ae795 (diff)
downloadcpython-e788057a9188ff37e232729815dfda2529079420.zip
cpython-e788057a9188ff37e232729815dfda2529079420.tar.gz
cpython-e788057a9188ff37e232729815dfda2529079420.tar.bz2
bpo-36797: Reduce levels of indirection in outdated distutils docs (#13462)
Diffstat (limited to 'Doc/distutils')
-rw-r--r--Doc/distutils/index.rst1
-rw-r--r--Doc/distutils/packageindex.rst7
-rw-r--r--Doc/distutils/uploading.rst3
3 files changed, 5 insertions, 6 deletions
diff --git a/Doc/distutils/index.rst b/Doc/distutils/index.rst
index c56fafd..1f72a25 100644
--- a/Doc/distutils/index.rst
+++ b/Doc/distutils/index.rst
@@ -36,7 +36,6 @@ and extensions readily available to a wider audience.
configfile.rst
sourcedist.rst
builtdist.rst
- packageindex.rst
examples.rst
extending.rst
commandref.rst
diff --git a/Doc/distutils/packageindex.rst b/Doc/distutils/packageindex.rst
index f74c439..ccb9a59 100644
--- a/Doc/distutils/packageindex.rst
+++ b/Doc/distutils/packageindex.rst
@@ -1,6 +1,4 @@
-.. index::
- single: Python Package Index (PyPI)
- single: PyPI; (see Python Package Index (PyPI))
+:orphan:
.. _package-index:
@@ -12,6 +10,7 @@ The `Python Package Index (PyPI)`_ stores metadata describing distributions
packaged with distutils and other publishing tools, as well the distribution
archives themselves.
-Detailed instructions on using PyPI at :ref:`distributing-index`.
+References to up to date PyPI documentation can be found at
+:ref:`publishing-python-packages`.
.. _Python Package Index (PyPI): https://pypi.org
diff --git a/Doc/distutils/uploading.rst b/Doc/distutils/uploading.rst
index 4bce699..4c391ca 100644
--- a/Doc/distutils/uploading.rst
+++ b/Doc/distutils/uploading.rst
@@ -4,4 +4,5 @@
Uploading Packages to the Package Index
***************************************
-The contents of this page have moved to the section :ref:`package-index`.
+References to up to date PyPI documentation can be found at
+:ref:`publishing-python-packages`.