Hugo van Kemenade
3028f07ad7
Lint: Check spelling on CI but don't fail ( #3080 )
...
Check spelling on CI (no fail), fix typo in docs, ignore some others
2023-03-30 19:52:29 +03:00
Hugo van Kemenade
62a0bbe95b
Infra: RTD preview links should be single version ( #3035 )
2023-03-02 23:41:01 -06:00
Hugo van Kemenade
d54d4e66c7
Infra: Automatically edit PRs with link to RTD preview ( #3031 )
2023-03-01 07:05:31 +02:00
Hugo van Kemenade
b173099ac6
Infra: replace feedgen/lxml dependency to test Python 3.12-dev ( #2973 )
2023-01-21 16:08:38 +02:00
Hugo van Kemenade
55ef1f44f5
Infra: Use consistent 'make html' and 'make dirhtml' ( #2968 )
2023-01-19 16:39:28 +02:00
Hugo van Kemenade
8af617d2ad
Infra: Test Python 3.11 beta ( #2727 )
...
* Bump actions versions
* Test Python 3.11 beta
* Infra: Apply suggestions from code review
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* Infra: update JamesIves/github-pages-deploy-action
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* Infra: Use v4 of action
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-31 13:34:28 +03:00
Hugo van Kemenade
0f56290a30
Infra: override RTD build commands ( #2728 )
2022-07-29 16:07:03 +03:00
Hugo van Kemenade
0b0dd6ddd5
Add tests for `pep_sphinx_extensions` ( #2545 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-04-26 20:07:20 +01:00
Ee Durbin
d85b9f6be5
purge CDN cache on deploy ( #2526 )
...
* purge CDN cache on deploy
issues a purge all to the Fastly service that fronts peps.python.org to make new changes appear fast..... lier.
* yaml?
2022-04-14 13:36:47 -04:00
Adam Turner
7a514d35bb
Infra: Remove artifact upload ( #2417 )
2022-03-11 17:02:08 -06:00
Hugo van Kemenade
719347adcf
Infra: Upload rendered PEPs as GitHub artifact ( #2410 )
2022-03-11 01:24:29 +00:00
Adam Turner
4bdabc6000
The PEP Rendering System is dead; long live the PEP Rendering System ( #2399 )
2022-03-10 10:27:31 +02:00
CAM Gerlach
e43f567e93
Upgrade lint infra & add a few more conservative built-in checks ( #2286 )
2022-01-31 18:49:58 -08:00
Adam Turner
fb046e16c6
Only restrict to deploying on pushes to `master` in the python/peps repo ( #1996 )
2022-01-21 11:37:08 +00:00
Nikita Sobolev
d9e63ccf42
Allow manually running GitHub Actions workflows and use consistent file extension ( #2215 )
...
* Rename deploy-gh-pages.yaml to deploy-gh-pages.yml
* Enable workflow_dispatch trigger to allow manually running
2022-01-20 01:48:26 -06:00
Adam Turner
3d60b84e35
PEP 676: Implementation updates ( #2208 )
2022-01-09 10:07:03 -08:00
Hugo van Kemenade
e47f9242f8
Rename master to main ( #2178 )
2021-12-03 06:59:24 -08:00
Ee Durbin
b6e3845f4c
Update to deploy from main ( #2176 )
2021-12-02 13:29:46 -05:00
Ofek Lev
58629bc305
Support code highlighting ( #1577 )
2021-11-23 15:30:48 -08:00
Hugo van Kemenade
e61ca95fce
Add PEP abstract to the RSS feed ( #1679 )
...
* Flake8 fixes
* Use first paragraph of abstract as 'description', and PEP author as 'author'
* Check RSS generation runs with no error
2021-07-12 13:55:16 +02:00
Adam Turner
3b34e282fd
Sphinx support: fix last modified dates for PEPs ( #2024 )
2021-07-04 18:55:04 +01: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
Adam Turner
ec52afb543
Update to only deploy Sphinx to gh-pages on pushing to `master` (GH-1987)
2021-06-09 01:51:47 +01:00
Adam Turner
353379966d
Sphinx support: add Sphinx core files ( #1930 )
...
See #2 , #1385 for context. Superseeds #1565 .
This is the minimal core Sphinx support part, adding a bare minimum of useful things to get Sphinx to build and deploy, whilst not affecting the current build system. There is no theming or custom parsing needed to properly deal with PEPs.
- `build.py` - build script
- `conf.py` - Sphinx configuration
- `Makefile` - new targets for Sphinx
- `.gitignore` - add ignores for `venv` and `package` directories
- `contents.rst` - Sphinx page to discover all PEPs
- `deploy-gh-pages.yaml` - builds and deploys to github pages
- `requirements.txt`
2021-06-09 00:11:26 +01:00
Hugo van Kemenade
58718c543e
Lint RST on GitHub Actions and fix PEP 646 ( #1802 )
2021-02-08 07:20:51 -08:00
Hugo van Kemenade
2f4ec80cf2
Build and deploy HTML on GitHub Actions ( #1669 )
2020-10-23 10:32:17 -07:00