Commit Graph

17 Commits

Author SHA1 Message Date
Adam Turner c946ae0bbb
PEP 310: Resolve uses of the default role (#3370) 2023-09-01 19:18:50 +00:00
CAM Gerlach a6336e9d74
Lint: Update headers and checks per current guidance & provide helpful feedback (#2484)
* Lint: Disable a couple potentially problematic/unneeded hooks

* Lint: Refine regex for existing Content-Type and PEP references checks

* Lint: Refine regex for Python-Version check and fix a couple deviations

* Lint: Refine regex for Created check and fix a couple deviations

* Lint: Refine regex for Resolution check and fix a few deviations

* Lint: Add new check for Post-History header

* Lint: Add check for Discussions-To header link

* Lint: Add basic check for PEP title presense & excessive length

* Lint: Add check for PEP/BDFL-Delegate header

* Lint: Add check for Sponsor header

* Lint: Add check for legacy Author field format

* Lint: Add check for RST Author field

* Lint: Use more helpful, user-oriented descriptions for header checks

* PEP 245: Add historical note and archive links to wiki page/email lsit

* PEP 628: Add direct link to resolution in acceptance message

* Lint: Explictly allow all valid RFC 2822 line continuations in headers

* Lint: Tweak Post-History and Resolution checks to accept fragments
2022-04-20 04:53:08 -05:00
Adam Turner 113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles (#2209) 2022-01-21 11:03:51 +00:00
Adam Turner 0d93abf9bf
Sphinx support: theming (#1933)
See #2, #1385 for context. Superseeds #1568.

This is the Sphinx-theming part, building on PR #1930.

### Stylesheets:
- `style.css` - styles
- `mq.css` - media queries

### Jinja2 Templates:
- `page.html` - overarching template

### Javascript:
- `doctools.js` - fixes footnote brackets

### Theme miscellany
- `theme.conf` - sets pygments styles, theme internals
2021-06-30 20:19:44 +01:00
Mariatta cf3bad5ab3
Revert "Rename all .txt PEP files to .rst (GH-462)" (GH-464)
This reverts commit bb0e518ed3.
2017-11-11 11:28:55 -08:00
Huang Huang bb0e518ed3 Rename all .txt PEP files to .rst (GH-462)
For https://github.com/python/peps/issues/1
2017-11-11 10:30:43 -08:00
Benjamin Peterson 60d9b24542 promote m.p.o links to https 2017-06-11 12:02:39 -07:00
Serhiy Storchaka 7ca8985b8f Miscellaneous fixes and formatting enhancements. (#238) 2017-04-05 19:14:26 +03:00
Serhiy Storchaka 07c157552d Replace tabs with spaces and fix identation errors. (#230) 2017-03-24 00:57:19 +02:00
Mariatta c5881cf2b5 Convert PEPs 222, 224, 281, 284, 310 (#203) 2017-02-10 11:05:40 -08:00
Berker Peksag 72478f7d5f Add PEP 486 by Paul Moore.
Also, update Paul's email address.
2015-02-12 21:13:56 +02:00
Raymond Hettinger 5af10082b7 Reject 310 and 319 in favor of 343. 2005-06-28 08:31:09 +00:00
Michael W. Hudson 8e190c714a Fix typo Guido just rubbed my eyes into on python-dev. 2005-04-22 08:52:49 +00:00
Michael W. Hudson c86e93c058 Clarify why we don't do hasattr(var, '__exit__). 2004-06-18 11:41:03 +00:00
Michael W. Hudson 33602533d2 Long overdue updates.
A decision one way or the other should be made wrt. this PEP at some
point, I guess.
2003-12-15 11:04:01 +00:00
David Goodger 0429311d5a update title, same as in PEP 0 2003-02-10 15:34:54 +00:00
David Goodger a7cd5f569e Reliable Acquisition/Release Pairs, by Michael Hudson and Paul Moore 2003-02-10 14:52:51 +00:00