Skip to content

Commit a1deee1

Browse files
sinorocbhrutledge
andauthored
Replace refs to PEP-503 with simple repository API (#1213)
Co-authored-by: Brian Rutledge <[email protected]>
1 parent a1ecd5e commit a1deee1

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

source/guides/creating-and-discovering-plugins.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ then ``discovered_plugins`` would be:
4545
'flask_talisman': <module: 'flask_talisman'>,
4646
}
4747
48-
Using naming convention for plugins also allows you to query the
49-
Python Package Index's `simple API`_ for all packages that conform to your
50-
naming convention.
48+
Using naming convention for plugins also allows you to query
49+
the Python Package Index's :ref:`simple repository API <simple-repository-api>`
50+
for all packages that conform to your naming convention.
5151

5252
.. _Flask: https://pypi.org/project/Flask/
5353
.. _Flask-SQLAlchemy: https://pypi.org/project/Flask-SQLAlchemy/
5454
.. _Flask-Talisman: https://pypi.org/project/flask-talisman
55-
.. _simple API: https://www.python.org/dev/peps/pep-0503/#specification
5655

5756

5857
Using namespace packages

source/guides/hosting-your-own-index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ instruct users to add the URL to their installer's configuration.
5555
----
5656

5757
.. [1] For complete documentation of the simple repository protocol, see
58-
:pep:`503`.
58+
:ref:`simple repository API <simple-repository-api>`.
5959
6060
6161
.. _Twisted: https://twistedmatrix.com/

source/tutorials/installing-packages.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -612,10 +612,10 @@ Install from a local directory containing archives (and don't check :term:`PyPI
612612
Installing from other sources
613613
=============================
614614

615-
To install from other data sources (for example Amazon S3 storage) you can
616-
create a helper application that presents the data in a :pep:`503` compliant
617-
index format, and use the ``--extra-index-url`` flag to direct pip to use
618-
that index.
615+
To install from other data sources (for example Amazon S3 storage)
616+
you can create a helper application that presents the data
617+
in a format compliant with the :ref:`simple repository API <simple-repository-api>`:,
618+
and use the ``--extra-index-url`` flag to direct pip to use that index.
619619

620620
.. code-block:: bash
621621

0 commit comments

Comments
 (0)