Skip to content

Commit 68764e0

Browse files
committed
Update pep 12 to mention rst extension.
1 parent 4012c12 commit 68764e0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pep-0012.txt

+7-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ the text (reStructuredText) source of this PEP in order to complete
2424
the steps below. **DO NOT USE THE HTML FILE AS YOUR TEMPLATE!**
2525

2626
The source for this (or any) PEP can be found in the PEPs repository,
27-
viewable on the web at https://hg.python.org/peps/file/tip .
27+
viewable on the web at https://github.com/python/peps/ .
2828

2929

3030
Rationale
@@ -53,11 +53,13 @@ or contact the PEP editors <[email protected]>.
5353
Once you've decided which type of PEP yours is going to be, follow the
5454
directions below.
5555

56-
- Make a copy of this file (``.txt`` file, **not** HTML!) and perform
57-
the following edits.
56+
- Make a copy of this file (``.txt`` or ``.rst`` file, **not** HTML!)
57+
and perform the following edits. Prefer ``.rst`` extensions as this
58+
will allow PEPs to be rendered on GitHub. ``.txt`` extensions still
59+
exists for legacy reasons.
5860

59-
- Replace the "PEP: 12" header with "PEP: XXX" since you don't yet have
60-
a PEP number assignment.
61+
- Replace the "PEP: 12" header with "PEP: XXX" since you don't yet
62+
have a PEP number assignment.
6163

6264
- Change the Title header to the title of your PEP.
6365

0 commit comments

Comments
 (0)