Commit Graph

15 Commits

Author SHA1 Message Date
Hugo van Kemenade 9d6e5b653f
Replace deprecated ``datetime`` functions (#3148)
From Python 3.12, datetime.datetime.utcnow and
datetime.datetime.utcfromtimestamp emit deprecation warnings.
2023-05-18 01:45:51 +01:00
Roman Solomatin 67712e46d8
Infra: Fix topics links from pep-0000 (#3093) 2023-04-08 17:36:57 -05:00
Hugo van Kemenade 40f579646e
Infra: Only add Topics index to PEP 0, not topic indices (#3037) 2023-03-04 14:10:39 +02:00
Hugo van Kemenade 9fa3f36d90
Infra: Add index by topic to PEP 0 (#2892)
* Infra: Add index by topic to PEP 0

* Infra: Move intro text

* Simplify wording
2023-03-04 10:22:14 +02:00
Hugo van Kemenade 77bbe7983a
PEP 404: Add Python 2.8 to Release PEPs topic (#2986) 2023-01-31 11:03:08 +02:00
Hugo van Kemenade 67512a10ea
Infra: Link status and type headers to descriptions (#2842)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-11-29 11:48:51 +02:00
Hugo van Kemenade ed92c0697c
Infra: Only emit a category table when it has entries (#2839)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-10-22 10:44:36 +03:00
Hugo van Kemenade c0b28dab5b
Infra: Add tooltips to type/status in PEP 0 (#2838)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-10-22 10:43:36 +03:00
Jelle Zijlstra 520cc0bbe7
Topic pages: remove authors table (#2823)
This table is not too useful, and for some reason we're not properly
mangling email addresses in the table. For simplicity, just omit the
table.
2022-10-06 17:36:15 -07:00
Adam Turner a2f2d6cc5a
Add support for topic indices (#2579)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-06-18 20:04:46 +02:00
Hugo van Kemenade 2d9a9462dd
PEP 0: Remove 'PEP' from table headers (#2635) 2022-06-08 18:49:36 +01:00
Adam Turner f7c9e62c9f
Infra: Use Docutils' `list-table` syntax for PEP 0 (#2616) 2022-06-08 10:11:14 -07:00
CAM Gerlach ce2ef0473e
Meta: Classify Accepted Process PEPs as current; PEP 8001: Mark as Final (#2385) 2022-03-12 16:04:54 +00:00
Adam Turner 3d60b84e35
PEP 676: Implementation updates (#2208) 2022-01-09 10:07:03 -08:00
Adam Turner 749c2d9a37
Sphinx support: add PEP 0 generation extension (1932)
* Add PEP 0 parser

* Add PEP 0 writer

* Add PEP 0 generator and authors override

* Add/update build and run

* Simplify `create_index_file`

* Special status handling

* Add constants for PEP related magic strings

* Prefer checking on class

* Add PEP.hide_status, use constants

* Remove comment from 2008 (current method works fine)

* Clarify intent of for-else loop

* Hook in to Sphinx (oops, missed when splitting out this PR)

* Rename AUTHORS.csv for clarity

* Sort and strip spaces

* Prefer `authors_overrides` name

* Add pep_0_errors.py

* Move author_sort_by to writer

* PEP init misc

* Split out Author

* Drop pep_0 prefix

* Pass title length as an argument

* Add constants.py to hold global type / status values

* Capitalise constants

* Capitalise constants

* Update PEP classification algorithm

* Extract static methods to module level

* Add emit_text, emit_pep_row

* Use constants in writer.py

* Sort imports

* Sort constants

* Fix sorting in historical and dead PEPs

* Extract static methods to module level

* Extract static methods to module level (parser.py

* Make Author a NamedTuple

* Fix author duplication bug with NamedTuples

* Revert to old PEP classification algorithm

* Define PEP equality
2021-06-12 18:51:14 +01:00