Update pep 12 to mention rst extension.

This commit is contained in:
Matthias Bussonnier 2016-06-27 10:36:37 -07:00
parent 4012c124e1
commit 68764e0787
1 changed files with 7 additions and 5 deletions

View File

@ -24,7 +24,7 @@ the text (reStructuredText) source of this PEP in order to complete
the steps below. **DO NOT USE THE HTML FILE AS YOUR TEMPLATE!** the steps below. **DO NOT USE THE HTML FILE AS YOUR TEMPLATE!**
The source for this (or any) PEP can be found in the PEPs repository, The source for this (or any) PEP can be found in the PEPs repository,
viewable on the web at https://hg.python.org/peps/file/tip . viewable on the web at https://github.com/python/peps/ .
Rationale Rationale
@ -53,11 +53,13 @@ or contact the PEP editors <peps@python.org>.
Once you've decided which type of PEP yours is going to be, follow the Once you've decided which type of PEP yours is going to be, follow the
directions below. directions below.
- Make a copy of this file (``.txt`` file, **not** HTML!) and perform - Make a copy of this file (``.txt`` or ``.rst`` file, **not** HTML!)
the following edits. and perform the following edits. Prefer ``.rst`` extensions as this
will allow PEPs to be rendered on GitHub. ``.txt`` extensions still
exists for legacy reasons.
- Replace the "PEP: 12" header with "PEP: XXX" since you don't yet have - Replace the "PEP: 12" header with "PEP: XXX" since you don't yet
a PEP number assignment. have a PEP number assignment.
- Change the Title header to the title of your PEP. - Change the Title header to the title of your PEP.