Commit Graph

25 Commits

Author SHA1 Message Date
Hugo van Kemenade e92c4d6afa
PEP 1 and 12: Document Topic header (#2995)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-02-03 21:34:17 +02:00
CAM Gerlach f87de8284c
Infra: Add new directives to point to PEP's canonical content (#2702)
As originally discussed in #2692 , this adds a three new custom directives intended to be used at the top of PEPs:

* `pep-banner`, a generic admonition banner that can be subclassed with an arbitrary message,
* `canonical-docs`, which renders a banner linking to a `Final` PEP's canonical documentation/specification.
* `canonical-pypa-spec`, a banner for packaging interoperability PEPs linking to the canonical PyPA specs.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-02 22:48:56 -05:00
CAM Gerlach d286a46470
PEP 1, 12: Update for adoption of PEP 676, and fix a few related items (#2447)
* PEP 1, 12: Update outdated references to Docutils to point to Sphinx

* PEP 1, 12: Update and simplify outdated legacy rendering workflow steps

* Readme: Fix minor issues introduced in PR #2399

* Infra: Update contents to include PEP rendering docs and avoid warnings

* Lint: Update hardcoded PEP link checker to detect new PEP URLs
2022-03-24 15:02:08 -05:00
CAM Gerlach 4370f8f737
PEP 1, 12: Update to reflect guidance for correct syntax highlighting (#2445)
* PEP 1, 12: Use apppropriate syntax highlighting languages in code blocks

* PEP 12: Update literal guidance for syntax highligting & simplify
2022-03-23 19:32:58 -05:00
CAM Gerlach 7518444718
PEP 1 & 12: Link Post-History dates to discussion threads (#2358) 2022-03-09 15:50:54 +00:00
CAM Gerlach e3a44f348f
PEP 12: Update whitespace conventions to match current practice (#2374) 2022-03-04 15:47:20 +00:00
CAM Gerlach d54a624360
PEP 12: Update outdated image and comment formatting guidance (#2365) 2022-02-27 14:35:29 -06:00
CAM Gerlach b1e81ac1dc
PEP 1: Update to reflect best practice in PEP annoucement and discussion (#2346) 2022-02-22 19:55:34 +00:00
CAM Gerlach 8e33abd30f
PEP 12: Recommend reST hyperlinks over footnotes (#2302) 2022-02-17 17:26:37 +00:00
CAM Gerlach 52ffaebe9b
PEP 12: Update guidance on linking PEPs/RFCs per recent changes, and add check for it (#2291) 2022-02-02 19:52:40 -08:00
Adam Turner 113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles (#2209) 2022-01-21 11:03:51 +00:00
Brett Cannon 8b43411c73 PEP 12: fix reST directive error 2021-12-06 16:09:16 -08:00
Brett Cannon cd1e507dd8
PEP 12: create a complete PEP template (#2181) 2021-12-06 15:38:13 -08:00
CAM Gerlach e183c197e6
PEP 12: Make date format in template match prose, and mark Python-Version as optional (#1889) 2021-03-22 14:00:22 -07:00
Marti Raudsepp 9b64c6ea75
Various typo/grammar/style fixes (#1789)
Changes detected by Topy (https://github.com/intgr/topy), all changes
verified by hand, false positives have been omitted.

These range from straight-out misspellings to debatable hyphen placement.
The hyphen changes are supported by grammar manuals of style.
2021-02-03 06:06:23 -08:00
Chris Angelico 19af5f8f0d
PEP 12: Clean up and modernize guidelines. (#1759)
* PEP 12: Clean up and modernize guidelines.

The peps@python.org list has been shut down, and everything is done via
GitHub pull requests. Also, we no longer need some of the older steps,
and it's easier to read if some of the obscure/unusual options are
buried away in parentheses.

Open to discussion, can split this up if it's controversial.

* PEP 12: Describe number allocation system

* Derp, best to lead people correctly! Thanks Brett

Co-authored-by: Brett Cannon <brett@python.org>

* Don't exclude non-mailing-list discussion targets

Thanks Brett

Co-authored-by: Brett Cannon <brett@python.org>

* PEP 12: Be inclusive of non-mailing-list forums again

* PEP 12: Recommend the use of GitHub's issue tracker for questions

Co-authored-by: Brett Cannon <brett@python.org>
2021-01-13 05:04:05 +11:00
Hugo van Kemenade a169cac7d5
Change language from BDFL-Delegate to PEP-Delegate (#1672) 2020-10-26 11:48:42 -07:00
Hugo van Kemenade ba36cccc2d
Fix RST backticks (#1554) 2020-08-07 09:35:20 -07:00
Humberto Diógenes 6399609401 Fix "Created" date format in header template (#1152) 2019-09-09 16:12:37 +01:00
Brett Cannon 5d1cab6c70
use a dual license of public domain or CC0-1.0-Universal (#1117) 2019-07-16 15:11:36 -07:00
Serhiy Storchaka ad7f2b2f6c Remove trailing spaces from many PEPs (#983) 2019-04-16 07:50:15 -07:00
Brett Cannon 8e7b03ab1d
PEP 12: provide templates for the header and sections (#913) 2019-03-07 16:09:01 -08:00
Brett Cannon d69b083262
Mention the Sponsor header 2019-03-06 14:48:44 -08:00
Oleg Broytman 0a95404c6d Post-History should include dates of postings to python-ideas (#444)
Discussions-To should point to python-ideas.

Fixes #440.
2017-12-04 08:49:44 -08:00
Benjamin Peterson f026481062 make the reST template pep have a .rst extension 2017-09-08 15:30:44 -07:00