Hugo van Kemenade
12447a65be
Infra: update header to 'Process and Meta-PEPs' ( #4033 )
2024-10-20 15:51:27 +10:00
Jelle Zijlstra
c56c5c526b
Meta: Allow adding date to Resolution header ( #4061 )
...
Fixes #4054
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-10-16 09:05:18 -07:00
nibley
4aaf949571
PEP 0: Use an absolute link to `peps.json` ( #4045 )
2024-10-10 20:32:00 +01:00
Alyssa Coghlan
441abc3e3e
Infra: Mention 'Superseded' in section heading ( #4021 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-10-06 14:32:09 +00:00
Hugo van Kemenade
24552cad8c
Infra: Move numerical index to own page ( #3992 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-09-26 21:57:51 +01:00
Hugo van Kemenade
c1310b79b4
Infra: Link RSS to website not feed ( #3976 )
2024-09-21 01:45:10 +01:00
Hugo van Kemenade
d2d6d71319
Meta: Document the PEPs API ( #3864 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-16 23:04:03 -06:00
Alex Waygood
e8273d3ed3
Many typing PEPs: add more links to canonical docs ( #3821 )
2024-06-11 23:12:09 +01:00
Hugo van Kemenade
f1aac9deee
Infra: Use PEP abstract/introduction as HTML and OG description ( #3801 )
2024-06-11 00:23:44 -06:00
Adam Turner
7c00075fd9
Infra: Fix 404s ( #3760 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-23 13:38:09 +03:00
Hugo van Kemenade
3e6630877d
Infra: Add directives to show warning banner for deprecated PEPs ( #3682 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2024-04-14 07:35:25 -06:00
Hugo van Kemenade
aa17904b42
Infra: Add OG metadata to improve previews of shared links ( #3707 )
2024-03-16 15:38:11 +02:00
Malcolm Smith
433958e731
Infra: Increase spacing between complex list items ( #3662 )
2024-02-15 17:20:02 -08:00
Victor Stinner
71308a8cab
Fix HTML "Last Modified" link in the footer ( #3653 )
...
Add "peps/" to the URL.
2024-02-09 15:06:51 +00:00
Hugo van Kemenade
f7f9f2d68a
PEP 612: Mark as Final ( #3575 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-01-12 00:20:09 -07:00
Hugo van Kemenade
d341072725
PEP 8: Add green and red sidbar for good and bad examples ( #3567 )
2023-12-09 09:19:37 -07:00
Jacob Coffee
ff0702ebfc
Infra: update canonical banners to not stick on small screens ( #3559 )
...
Updates small media sizes to not have a sticky banner
Adds a helper close button to optionally close banner
Closes #3536
2023-12-02 22:31:13 -08:00
Sebastian Rittau
6643c37d31
Infra: Improve print style ( #3486 )
2023-11-14 11:41:48 -07:00
Alyssa Coghlan
6f1da2042d
Update references to Alyssa Coghlan ( #3475 )
...
* For most cases (including all PEP metadata), replace birth name with chosen name
* Birth name has been retained in parentheses when this makes other references
substantially clearer (e.g. references to mailing list posts, elected members
of the inaugural Steering Council)
2023-10-11 14:05:51 +02:00
Hugo van Kemenade
b794468df6
Infra: Add Python version to PEP 0 tables ( #3434 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-27 15:16:17 +01:00
Adam Turner
08d688fdca
All PEPs: Move to ``peps/`` folder ( #3418 )
2023-09-09 18:39:29 +01:00
Adam Turner
0f22268963
Lint: Add Ruff ( #3429 )
2023-09-09 17:33:52 +01:00
Adam Turner
814ceede97
Lint: Add ``check-peps.py`` ( #3275 )
...
``check-peps`` codifies the rules in PEP 1 and PEP 12 into a single
place containing all of the PEP-specific checks. These are primarily
header and metadata validation, and ensuring that direct links to
RFCs and PEPs aren't used.
Reviewed-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Reviewed-by: C.A.M. Gerlach <cam.gerlach@gerlach.cam>
2023-09-05 04:44:46 +01:00
Adam Turner
2d4c98dca7
Infra: Prepare for moving PEPs to a subfolder ( #3417 )
2023-09-03 04:55:19 +01:00
Adam Turner
e906b6a1bb
PEP 0: Set consistent table column widths ( #3339 )
2023-09-01 17:51:46 +01:00
Adam Turner
52b311ff8b
PEP 0: Remove unneeded import ( #3341 )
2023-09-01 15:26:09 +00:00
Adam Turner
3550731898
PEP 0: Refactoring ( #3340 )
2023-09-01 16:19:19 +01:00
Josh Cannon
32a92bd50b
PEP 0: Use authors' full names over surnames ( #3295 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-09-01 16:11:33 +01:00
Adam Turner
dbe0dd8c4f
Ensure the ``:pep:`` role works properly with the dirhtml builder ( #3322 )
2023-09-01 05:57:00 +01:00
Adam Turner
7d52bab3ce
Support Sphinx 7.2 in ``pep_sphinx_extensions`` ( #3294 )
2023-08-17 16:15:55 +00:00
shailshouryya
0ebf5a4390
Lint: Update outdated package dependencies & reformat files ( #3291 )
...
* Update `sphinx-lint` package dependency version number → 0.6.8
This new release includes the changes from
https://github.com/sphinx-contrib/sphinx-lint/pull/56/files ,
which should address
https://github.com/python/peps/issues/3028 . For details
about `sphinx-lint` release 0.6.8, see
https://github.com/sphinx-contrib/sphinx-lint/releases/tag/v0.6.8 .
* Update other outdated dependencies
Run the following:
```
python -m pip install pre-commit
pre-commit autoupdate
pre-commit run --all-files
```
2023-08-16 08:07:57 +03:00
Adam Turner
2b53c224d1
Generate ``peps.rss`` via Sphinx ( #3274 )
2023-08-05 17:22:22 +01:00
Hugo van Kemenade
191de06f27
Infra: Revert "Fix a URL in the PyPA specification banner ( #3199 )" ( #3218 )
2023-07-31 22:28:06 +01:00
Uriya Harpeness
fee8c3e353
Remove duplicated CSS properties in ``styles.css`` ( #3204 )
2023-07-16 14:42:59 +01:00
wim glenn
08124264e6
Fix a URL in the PyPA specification banner ( #3199 )
2023-07-13 03:56:26 +01:00
Hugo van Kemenade
ef64ec3cbe
Infra: improve text readability and webpage performance ( #3132 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-05-31 11:10:38 +02:00
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
chaojie
6eb6167770
Infra: Make the sticky banner opaque for better readability ( #3075 )
...
Make the stick banner opaque for better readability
2023-04-28 12:31:40 -05:00
Roman Solomatin
67712e46d8
Infra: Fix topics links from pep-0000 ( #3093 )
2023-04-08 17:36:57 -05:00
C.A.M. Gerlach
4b3c9504ed
Infra: Fix hiding of References if it contains invisible SystemMessage ( #3083 )
2023-04-03 16:05:21 +02:00
Pradyun Gedam
06e5a8a693
Implement support for sticky banners and utilize them ( #2992 )
2023-03-20 08:42:01 +00: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
C.A.M. Gerlach
f292166dba
Lint: Allow per-message Post-History links w/trailing slash ( #3005 )
...
* Lint: Only ignore per-message links in Post-History with trailing slash
* PEP 684: Add trailing slash to per-message Post-History link
* Infra: Use clearer term (message, not post) for single Discourse messages
2023-02-06 16:49:00 -06:00
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
Hugo van Kemenade
5bdec964da
Meta: Add a governance topic ( #2993 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Fixes https://github.com/python/peps/issues/2987
2023-02-02 12:50:01 +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
15caa8f24b
Infra: Use dark grey instead of dark green for dark theme background ( #2977 )
...
* Use #121212 for dark theme bgcolor
* Use #1111111 for dark theme bgcolor
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-01-24 07:53:08 +02:00
Hugo van Kemenade
2f277a0a2a
Infra: Fix Replaces/Superseded-By/Requires links for dirhtml ( #2981 )
...
After #2972 , when building dirhtml,
we need to re-add the initial / for the links to PEPs
in the Replaces/Superseded-By/Requires headers.
2023-01-23 21:26:36 -06:00
Hugo van Kemenade
6fc3a4ddf3
Infra: Use relative links to ease development ( #2972 )
2023-01-22 12:56:05 +02:00