Commit Graph

66 Commits

Author SHA1 Message Date
Hugo van Kemenade e7d5f07322
Infra: Update `Makefile`to match CPython/Docs and devguide (#3985) 2024-09-21 01:44:12 +01:00
Hugo van Kemenade de536ac430
Infra: Remove GNU make-specific directive from Makefile (#3891)
* Remove GNU make-specific directive from Makefile
* Remove deprecated 'make check-links'
2024-08-04 16:31:04 +01:00
Hugo van Kemenade 44ec9be8bd
Infra: Fix `make clean htmllive` (#3813) 2024-06-04 12:51:59 -06:00
Hugo van Kemenade 3b62de3fac
Infra: makefile/RTD: Use uv if installed (#3791) 2024-05-29 17:35:25 +03:00
Hugo van Kemenade 50b459be73
Infra: Define port for htmllive to avoid collisions (#3792) 2024-05-28 06:00:19 +00:00
Hugo van Kemenade f3b9e446fe
Infra: Only install sphinx-autobuild for `make htmllive` (#3796) 2024-05-27 22:47:37 -07:00
Hugo van Kemenade b14f4e77a1
PEP 594: Re-link removed batteries to last included version (#3778) 2024-05-25 07:48:58 -06:00
Ned Batchelder b9c97a4319
docs: announce venv creation before installing packages (#3729) 2024-03-19 21:53:43 +02:00
Hugo van Kemenade ed037e66b7
Meta: Update config (#3645) 2024-02-08 18:43:54 +02:00
Hugo van Kemenade 2d1bdc5cf5
Infra: `make htmllive`: open browser when ready (#3558) 2023-12-01 18:47:36 +02:00
Hugo van Kemenade f7ccb48574
Infra: Add `make htmllive` to rebuild and reload HTML files in your browser (#3521)
Add 'make htmllive' to rebuild and reload HTML files in your browser
2023-11-12 13:48:34 +02:00
Hugo van Kemenade 32de30c52e
Infra: Refactor Makefile (#3514) 2023-11-03 01:24:48 -06:00
Adam Turner 08d688fdca
All PEPs: Move to ``peps/`` folder (#3418) 2023-09-09 18:39:29 +01:00
Adam Turner 4a024e1ea1
Make Sphinx fail rendering on any warning (#3272) 2023-08-05 23:45:23 +01:00
Adam Turner 2b53c224d1
Generate ``peps.rss`` via Sphinx (#3274) 2023-08-05 17:22:22 +01:00
Adam Turner 7eff25dcfd
Remove ``render`` and ``pages`` targets from the Makefile (#3271) 2023-08-05 13:25:07 +01:00
Adam Turner 2c5152bb40
Update GitHub Actions workflows (#3270) 2023-08-05 13:24:46 +01:00
Hugo van Kemenade 97984aa29a
Infra: Call sphinx-build directly in Makefile instead of via build.py wrapper (#3195) 2023-07-12 18:28:43 +03: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 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 780ba199a2
Infra: Add 'make help' (#2858) 2022-10-31 14:34:37 +02:00
Hugo van Kemenade 18b3870e3a
Infra: Declare Makefile targets as phony (#2841) 2022-10-22 10:43:53 +03:00
Hugo van Kemenade 0f56290a30
Infra: override RTD build commands (#2728) 2022-07-29 16:07:03 +03:00
Hugo van Kemenade bf131f02be
Infra: gitignore generated `/topic` and wipe via `make clean` (#2683) 2022-07-10 15:41:05 -05: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
Hugo van Kemenade a0351c087f
Infra: Include trailing slash in RSS URLs to avoid 301 redirect (#2474) 2022-03-28 09:11:30 +03:00
Hugo van Kemenade 00a5a0be46
Lint: call tools inside venv using make's PYTHON (#2408)
Co-authored-by: Brett Cannon <brett@python.org>
2022-03-11 20:17:08 -08: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 6064e225d5
Add instructions for running lint and spellcheck tools locally (#2338) 2022-02-22 00:03:58 +00:00
Dimitri Papadopoulos Orfanos e5de01abae
Add configuration for running `codespell` locally (#2151)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-01-24 23:40:15 +00:00
Adam Turner 50e5de2d28
PEP 676: 'dark mode', documentation, spec update, implementation update (#2239)
Co-authored-by: C.A.M. Gerlach <cam.gerlach@gerlach.cam>
2022-01-16 14:33:05 -08:00
Adam Turner 3d60b84e35
PEP 676: Implementation updates (#2208) 2022-01-09 10:07:03 -08:00
Adam Turner b8b64248d0
Sphinx support: Add support for RSS (#1934)
See #2, #1385 for context.

This is the RSS generation part, building on PR #1930. It contains the logic for generating RSS

This was originally in #1385 and #1565, split out for ease of review
2021-06-15 23:22:39 +01:00
Adam Turner c69fdbf5e1
Add config option in `build.py` for Sphinx builders (#1988) 2021-06-09 14:02:16 +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
Brett Cannon 67ab198c25
PEP 650: Specifying Installer Requirements for Python Projects (#1762) 2021-01-13 17:40:00 -08:00
Huang Huang c8872842e8 Package all pep files. Fixes python/pythondotorg#1394 (#982) 2019-04-09 11:26:44 -05:00
Ernest W Durbin III 74c07a51e9
package/deploy: attempt to navigate travis-ci dot org 2019-02-23 13:14:03 -05:00
Ernest W. Durbin III b91c65043d
create package target (#898)
* create package target

the peps are built... may as well publish a tarball directly from travis.

python.org hosting is being updated and i'm trying to move it away from local
disk storage, which the current pep integration relies on.

this will allow me python.org to pull the tarball out of S3 and do it's work.

* packager: push to s3 after success
2019-02-23 13:02:57 -05:00
Nick Coghlan d18a264e4b
Convert PEP index to ReST (#705)
Keeps Python 3.5 compatibility, as that's what
pythondotorg currently still uses.
2018-07-10 23:10:43 +10:00
Guido van Rossum ea042afc5b Fix the 'venv' target by using Python 3 (#210) 2017-02-13 10:47:14 -08:00
Matthias Bussonnier 4012c124e1 Handle pep files with `.rst` extensions. 2016-06-27 10:30:09 -07:00
Brett Cannon 6a27618a43 Update from GitHub 2016-06-15 14:39:53 -07:00
Brett Cannon aea7672a91 Add a Makefile command to create a virtualenv with the necessary projects installed. 2015-08-08 12:54:36 -07:00
Benjamin Peterson b6fd698523 add a rss target 2015-01-14 16:05:43 -05:00
Benjamin Peterson 1562f7779b use https 2014-09-29 23:55:52 -04:00
Éric Araujo 251d323726 Add a make dependency on PEP index generator code to generated file 2011-11-28 15:07:42 +01:00
Brett Cannon 24a266e25a Drop the propcheck target as that was a svn-specific thing. 2011-04-12 14:30:10 -07:00