Skip to content

Commit 290582a

Browse files
committed
PEP 807: prefix refs
Signed-off-by: William Woodruff <william@astral.sh>
1 parent fe15971 commit 290582a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

peps/pep-0807.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Non-``200 OK``, non-``404 Not Found`` responses **MAY** include a body which,
197197
if present, **MUST** be a JSON object containing an
198198
`Error Response <Error Responses>`_.
199199

200-
.. _token-exchange:
200+
.. _pep807-token-exchange:
201201

202202
Trusted Publishing Token Exchange
203203
---------------------------------
@@ -220,7 +220,7 @@ Token exchange occurs in three steps:
220220
for a short-lived *upload credential* that can be used to upload
221221
to the index.
222222

223-
.. _audience-retrieval:
223+
.. _pep807-audience-retrieval:
224224

225225
Audience Retrieval
226226
~~~~~~~~~~~~~~~~~~
@@ -238,15 +238,15 @@ On failure, the server **MUST** respond with any standard HTTP
238238
error code in the 400 or 500 range to indicate an error condition.
239239
Failure responses **MAY** include a body which, if present,
240240
**MUST** be a JSON object containing an
241-
:ref:`Error Response <error-responses>`.
241+
:ref:`Error Response <pep807-error-responses>`.
242242

243243
.. _token-minting:
244244

245245
Token Minting
246246
~~~~~~~~~~~~~
247247

248248
After the uploading client has performed
249-
:ref:`audience retrieval <audience-retrieval>` and obtained an
249+
:ref:`audience retrieval <pep807-audience-retrieval>` and obtained an
250250
identity credential from the Trusted Publishing provider, it can
251251
proceed to mint an upload credential.
252252

@@ -278,9 +278,9 @@ containing a JSON object with the following fields:
278278
On failure, the server **MUST** respond with any standard HTTP
279279
error code in the 400 or 500 range to indicate an error condition.
280280
Failure responses **MUST** include a body which, if present,
281-
**MUST** be a JSON object containing an :ref:`Error Response <error-responses>`.
281+
**MUST** be a JSON object containing an :ref:`Error Response <pep807-error-responses>`.
282282

283-
.. _error-responses:
283+
.. _pep807-error-responses:
284284

285285
Error Responses
286286
---------------

0 commit comments

Comments
 (0)