@@ -26,7 +26,9 @@ documenting dissenting opinions.
26
26
27
27
Because the PEPs are maintained as text files in a versioned
28
28
repository, their revision history is the historical record of the
29
- feature proposal [1]_.
29
+ feature proposal. This historical record is available by the normal git
30
+ commands for retrieving older revisions, and can also be browsed
31
+ `on GitHub <https://github.com/python/peps>`__.
30
32
31
33
32
34
PEP Audience
@@ -285,8 +287,8 @@ the PEP Sponsor and PEP editors can advise them accordingly.
285
287
286
288
If the chosen venue is not the `Python-Dev`_ mailing list,
287
289
a brief announcement should be posted there when the draft PEP is
288
- committed to the PEP repository and available on the PEP website,
289
- with a link to the rendered PEP and to the canonical ``Discussions-To`` thread.
290
+ committed to the repository, which should include a link to the rendered PEP
291
+ and to the canonical ``Discussions-To`` thread.
290
292
291
293
If a PEP undergoes a significant re-write or other major, substantive
292
294
changes to its proposed specification, a new thread should typically be created
@@ -572,11 +574,11 @@ PEP Formats and Templates
572
574
PEPs are UTF-8 encoded text files using the reStructuredText_ format.
573
575
reStructuredText allows for rich markup that is still quite easy to
574
576
read, but also results in good-looking and functional HTML. :pep:`12`
575
- contains instructions and a :pep:`template <12#suggested-sections>`
576
- for reStructuredText PEPs.
577
+ contains instructions and a :pep:`PEP template <12#suggested-sections>`.
577
578
578
579
The PEP text files are automatically
579
580
`converted to HTML <https://peps.python.org/docs/rendering_system/>`__
581
+ (via a `Sphinx <https://www.sphinx-doc.org/>`_-based :pep:`build system <676>`)
580
582
for easier `online reading <https://peps.python.org/>`__.
581
583
582
584
@@ -795,22 +797,13 @@ Once the PEP is ready for the repository, a PEP editor will:
795
797
("Standards Track", "Informational", or "Process"), and marked its
796
798
status as "Draft".
797
799
798
- * Add the PEP to a local fork of the `PEP repository`_. For workflow
799
- instructions, follow `The Python Developers Guide <https://devguide.python.org/>`_
800
+ * Ensure all CI build and lint checks pass without errors,
801
+ and there are no obvious issues in the rendered preview output.
800
802
801
- * Run ``./build.py`` to ensure the PEPs are generated without errors. If the
802
- rendering triggers errors, then the web site will not be updated to reflect
803
- the PEP changes.
803
+ * Merge the new (or updated) PEP.
804
804
805
- * Commit and push the new (or updated) PEP
806
-
807
- * Monitor python.org to make sure the PEP gets added to the site
808
- properly. If it fails to appear, running ``make`` will build all of the
809
- current PEPs. If any of these are triggering errors, they must be
810
- corrected before any PEP will update on the site.
811
-
812
- * Send email back to the PEP author with next steps (post to
813
- python-list & -dev).
805
+ * Inform the author of the next steps (open a discussion thread and
806
+ update the PEP with it, post an announcement to Python-Dev, etc).
814
807
815
808
Updates to existing PEPs should be submitted as a `GitHub pull request`_.
816
809
@@ -835,19 +828,13 @@ Resources:
835
828
Footnotes
836
829
=========
837
830
838
- .. [1] This historical record is available by the normal git commands
839
- for retrieving older revisions, and can also be browsed
840
- `on GitHub <https://github.com/python/peps>`__.
841
-
842
831
.. _.github/CODEOWNERS: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
843
832
844
833
.. _issue tracker: https://bugs.python.org/
845
834
846
835
.. _CC0-1.0-Universal: https://choosealicense.com/licenses/cc0-1.0/
847
836
848
- .. _reStructuredText: https://docutils.sourceforge.io/rst.html
849
-
850
- .. _Docutils: https://docutils.sourceforge.io/
837
+ .. _reStructuredText: https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html
851
838
852
839
.. _PEP repository: https://github.com/python/peps
853
840
0 commit comments