From d00fae9bf94a82a9bdd60fdc41738ea08a538c9a Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Mon, 26 Oct 2026 16:33:52 +0000 Subject: [PATCH] Fix two outdated links to PyPI doc anchors --- source/guides/writing-pyproject-toml.rst | 2 +- source/tutorials/packaging-projects.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/guides/writing-pyproject-toml.rst b/source/guides/writing-pyproject-toml.rst index a0ff484f1a..a26a728ea9 100644 --- a/source/guides/writing-pyproject-toml.rst +++ b/source/guides/writing-pyproject-toml.rst @@ -481,7 +481,7 @@ sidebar of your PyPI project page. See :ref:`well-known-labels` for a listing of labels that PyPI and other packaging tools are specifically aware of, - and `PyPI's project metadata docs `_ + and `PyPI's project metadata docs `_ for PyPI-specific URL processing. .. code-block:: toml diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 4f69de20be..fe6d6f4f24 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -369,7 +369,7 @@ https://test.pypi.org/manage/account/#api-tokens, setting the "Scope" to "Entire account". **Don't close the page until you have copied and saved the token — you won't see that token again.** -.. _API token: https://test.pypi.org/help/#apitoken +.. _API token: https://docs.pypi.org/publishing/publishing-to-pypi/#using-an-api-token Now that you are registered, you can use :ref:`twine` to upload the distribution packages. You'll need to install Twine: