summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Rampin <r@remirampin.com>2019-12-10 17:18:38 -0500
committerXavier Fernandez <xav.fernandez@gmail.com>2019-12-11 22:23:34 +0100
commit04d8841ace46d49a1443ef56f1205a70019a1a2f (patch)
treebc79bf4afee6d9dda1bfa70ff9a7e682eab2693f
parent17075cc17fc4a9d37b826e09cbdb7ba52d8e3735 (diff)
downloadpip-04d8841ace46d49a1443ef56f1205a70019a1a2f.tar.gz
Update links in docs
-rw-r--r--README.rst2
-rw-r--r--docs/html/conf.py2
-rw-r--r--docs/html/development/ci.rst2
-rw-r--r--docs/html/development/contributing.rst2
-rw-r--r--docs/html/development/release-process.rst2
-rw-r--r--docs/html/index.rst2
-rw-r--r--docs/html/installing.rst2
-rw-r--r--docs/html/user_guide.rst2
-rw-r--r--news/7463.trivial0
-rw-r--r--src/pip/_internal/operations/install/wheel.py4
10 files changed, 10 insertions, 10 deletions
diff --git a/README.rst b/README.rst
index d10caa630..6d1bf585b 100644
--- a/README.rst
+++ b/README.rst
@@ -38,7 +38,7 @@ Code of Conduct
Everyone interacting in the pip project's codebases, issue trackers, chat
rooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_.
-.. _package installer: https://packaging.python.org/en/latest/current/
+.. _package installer: https://packaging.python.org/guides/tool-recommendations/
.. _Python Package Index: https://pypi.org
.. _Installation: https://pip.pypa.io/en/stable/installing.html
.. _Usage: https://pip.pypa.io/en/stable/
diff --git a/docs/html/conf.py b/docs/html/conf.py
index 55eb722d5..bb30f75fb 100644
--- a/docs/html/conf.py
+++ b/docs/html/conf.py
@@ -127,7 +127,7 @@ pygments_style = 'sphinx'
extlinks = {
'issue': ('https://github.com/pypa/pip/issues/%s', '#'),
'pull': ('https://github.com/pypa/pip/pull/%s', 'PR #'),
- 'pypi': ('https://pypi.org/project/%s', ''),
+ 'pypi': ('https://pypi.org/project/%s/', ''),
}
# -- Options for HTML output --------------------------------------------------
diff --git a/docs/html/development/ci.rst b/docs/html/development/ci.rst
index 2b7632a0c..620aa528c 100644
--- a/docs/html/development/ci.rst
+++ b/docs/html/development/ci.rst
@@ -69,7 +69,7 @@ provides free executors for open source packages:
.. _`Travis CI`: https://travis-ci.org/
.. _`Appveyor CI`: https://www.appveyor.com/
-.. _`Azure DevOps CI`: https://dev.azure.com/
+.. _`Azure DevOps CI`: https://azure.microsoft.com/en-us/services/devops/
.. _`GitHub Actions`: https://github.com/features/actions
diff --git a/docs/html/development/contributing.rst b/docs/html/development/contributing.rst
index 85485dc17..a82420da4 100644
--- a/docs/html/development/contributing.rst
+++ b/docs/html/development/contributing.rst
@@ -248,7 +248,7 @@ and they will initiate a vote among the existing maintainers.
- ReadTheDocs Administration capabilities
.. _`Studies have shown`: https://www.kessler.de/prd/smartbear/BestPracticesForPeerCodeReview.pdf
-.. _`resolve merge conflicts`: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/
+.. _`resolve merge conflicts`: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line
.. _`Travis CI`: https://travis-ci.org/
.. _`Appveyor CI`: https://www.appveyor.com/
.. _`.travis.yml`: https://github.com/pypa/pip/blob/master/.travis.yml
diff --git a/docs/html/development/release-process.rst b/docs/html/development/release-process.rst
index 9e9248c32..f41f3cb80 100644
--- a/docs/html/development/release-process.rst
+++ b/docs/html/development/release-process.rst
@@ -135,4 +135,4 @@ order to create one of these the changes should already be merged into the
.. _`get-pip repository`: https://github.com/pypa/get-pip
.. _`psf-salt repository`: https://github.com/python/psf-salt
-.. _`CPython`: https://github.com/pypa/cpython
+.. _`CPython`: https://github.com/python/cpython
diff --git a/docs/html/index.rst b/docs/html/index.rst
index 5ce442de0..a8fab2bd3 100644
--- a/docs/html/index.rst
+++ b/docs/html/index.rst
@@ -33,7 +33,7 @@ Code of Conduct
Everyone interacting in the pip project's codebases, issue trackers, chat
rooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_.
-.. _package installer: https://packaging.python.org/en/latest/current/
+.. _package installer: https://packaging.python.org/guides/tool-recommendations/
.. _Python Package Index: https://pypi.org
.. _Installation: https://pip.pypa.io/en/stable/installing.html
.. _Documentation: https://pip.pypa.io/en/stable/
diff --git a/docs/html/installing.rst b/docs/html/installing.rst
index 3d346e2d2..3ffeef5ca 100644
--- a/docs/html/installing.rst
+++ b/docs/html/installing.rst
@@ -89,7 +89,7 @@ Using Linux Package Managers
See :ref:`pypug:Installing pip/setuptools/wheel with Linux Package Managers` in
the `Python Packaging User Guide
-<https://packaging.python.org/en/latest/current/>`_.
+<https://packaging.python.org/guides/tool-recommendations/>`_.
.. _`Upgrading pip`:
diff --git a/docs/html/user_guide.rst b/docs/html/user_guide.rst
index 780e5a790..ee827f089 100644
--- a/docs/html/user_guide.rst
+++ b/docs/html/user_guide.rst
@@ -402,7 +402,7 @@ look like this:
Each subcommand can be configured optionally in its own section so that every
global setting with the same name will be overridden; e.g. decreasing the
``timeout`` to ``10`` seconds when running the ``freeze``
-(`Freezing Requirements <./#freezing-requirements>`_) command and using
+(:ref:`pip freeze`) command and using
``60`` seconds for all other commands is possible with:
.. code-block:: ini
diff --git a/news/7463.trivial b/news/7463.trivial
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/news/7463.trivial
diff --git a/src/pip/_internal/operations/install/wheel.py b/src/pip/_internal/operations/install/wheel.py
index 6b835b527..028ed3df7 100644
--- a/src/pip/_internal/operations/install/wheel.py
+++ b/src/pip/_internal/operations/install/wheel.py
@@ -583,8 +583,8 @@ def install_unpacked_wheel(
entry = e.args[0]
raise InstallationError(
"Invalid script entry point: {} for req: {} - A callable "
- "suffix is required. Cf https://packaging.python.org/en/"
- "latest/distributing.html#console-scripts for more "
+ "suffix is required. Cf https://packaging.python.org/"
+ "specifications/entry-points/#use-for-scripts for more "
"information.".format(entry, req_description)
)