@@ -188,7 +188,7 @@ The standard PEP workflow is:
188
188
"Informational", or "Process" as appropriate, and for the "Status:"
189
189
field enter "Draft". For full details, see `PEP Header Preamble`_.
190
190
191
- * Update `.github/CODEOWNERS` [3] _ such that any co-author(s) or sponsors
191
+ * Update `.github/CODEOWNERS`_ such that any co-author(s) or sponsors
192
192
with write access to the `PEP repository`_ are listed for your new file.
193
193
This ensures any future pull requests changing the file will be assigned
194
194
to them.
@@ -530,7 +530,9 @@ PEP Header Preamble
530
530
531
531
Each PEP must begin with an :rfc:`2822` style header preamble. The headers
532
532
must appear in the following order. Headers marked with "*" are
533
- optional and are described below. All other headers are required. ::
533
+ optional and are described below. All other headers are required.
534
+
535
+ .. code-block:: text
534
536
535
537
PEP: <pep number>
536
538
Title: <pep title>
@@ -708,7 +710,7 @@ For each new PEP that comes in an editor does the following:
708
710
* The file name extension is correct (i.e. ``.rst``).
709
711
710
712
* Ensure that everyone listed as a sponsor or co-author of the PEP who has write
711
- access to the `PEP repository`_ is added to `.github/CODEOWNERS` [3] _.
713
+ access to the `PEP repository`_ is added to `.github/CODEOWNERS`_.
712
714
713
715
* Skim the PEP for obvious defects in language (spelling, grammar,
714
716
sentence structure, etc.), and code style (examples should conform to
@@ -737,12 +739,8 @@ Once the PEP is ready for the repository, a PEP editor will:
737
739
("Standards Track", "Informational", or "Process"), and marked its
738
740
status as "Draft".
739
741
740
- * Add the PEP to a local fork of the PEP repository. For workflow
741
- instructions, follow `The Python Developers Guide <http://docs.python.org/devguide>`_
742
-
743
- The git repo for the peps is::
744
-
745
- https://github.com/python/peps
742
+ * Add the PEP to a local fork of the `PEP repository`_. For workflow
743
+ instructions, follow `The Python Developers Guide <https://devguide.python.org/>`_
746
744
747
745
* Run ``./genpepindex.py`` and ``./pep2html.py <PEP Number>`` to ensure they
748
746
are generated without errors. If either triggers errors, then the web site
@@ -770,15 +768,12 @@ administrative & editorial part (which is generally a low volume task).
770
768
771
769
Resources:
772
770
773
- * `Index of Python Enhancement Proposals <http ://www.python.org/dev/peps/>`_
771
+ * `Index of Python Enhancement Proposals <https ://www.python.org/dev/peps/>`_
774
772
775
773
* `Following Python's Development
776
- <http://docs.python.org/devguide/communication.html>`_
777
-
778
- * `Python Developer's Guide <http://docs.python.org/devguide/>`_
774
+ <https://devguide.python.org/communication/>`_
779
775
780
- * `Frequently Asked Questions for Developers
781
- <http://docs.python.org/devguide/faq.html>`_
776
+ * `Python Developer's Guide <https://devguide.python.org/>`_
782
777
783
778
784
779
References and Footnotes
@@ -792,17 +787,17 @@ References and Footnotes
792
787
in the PEPs repo README at
793
788
https://github.com/python/peps/blob/main/README.rst
794
789
795
- .. [3] ` CODEOWNERS` documentation
796
- ( https://docs.github.com/en/github/creating-cloning- and-archiving-repositories /about-code-owners)
790
+ .. _.github/ CODEOWNERS:
791
+ https://docs.github.com/en/repositories/managing-your-repositorys-settings- and-features/customizing-your-repository /about-code-owners
797
792
798
793
.. _issue tracker:
799
- http ://bugs.python.org/
794
+ https ://bugs.python.org/
800
795
801
796
.. _CC0-1.0-Universal: https://choosealicense.com/licenses/cc0-1.0/
802
797
803
- .. _reStructuredText: http ://docutils.sourceforge.net /rst.html
798
+ .. _reStructuredText: https ://docutils.sourceforge.io /rst.html
804
799
805
- .. _Docutils: http ://docutils.sourceforge.net /
800
+ .. _Docutils: https ://docutils.sourceforge.io /
806
801
807
802
.. _PEP repository: https://github.com/python/peps
808
803
0 commit comments