Commit Graph

54 Commits

Author SHA1 Message Date
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
Georg Brandl ff344ee971 Fix mentions of svn.python.org and remove unneeded files. 2011-03-24 09:10:55 +01:00
Benjamin Peterson 0490e0fcd4 2.5 is now default on dinsdale, so don't require version suffix 2010-07-22 12:21:10 +00:00
Benjamin Peterson c68cb31572 only python 2.5 is available on dinsdale 2010-03-29 17:02:20 +00:00
Barry Warsaw 0db50c5cd6 Make the current proposed solution explicit.
Use Python 2.6 to create the PEPs.
2010-03-24 12:32:09 +00:00
Brett Cannon d6573248e0 Add a file that checks the svn properties on PEPs to make sure they are set,
and if not set them. Can be run by ``make propcheck``.
2010-03-03 02:54:51 +00:00
Georg Brandl 77fb82981e Dont print the pep2html command for each PEP. 2009-09-17 09:42:09 +00:00
Benjamin Peterson 961bbd53c5 genindex requires python 2.5 2009-02-08 23:10:16 +00:00
Brett Cannon 347396990d Make the use of Python a Makefile target. That allows for specifying which
interpreter to use or pass in extra flags to the interpreter.
2009-01-27 20:05:05 +00:00
Benjamin Peterson e4e02fe3dd fix logic error which didn't include all peps in build 2009-01-11 00:41:53 +00:00
Benjamin Peterson b926d5a7b7 generate the PEP index automatically 2009-01-08 03:53:19 +00:00
Guido van Rossum 3e857976b3 Add PEP 3103: A Switch/Case Statement (GvR).
Also fix a reference to cvs in the Makefile.
2006-06-26 18:05:39 +00:00
Martin v. Löwis 0517092e09 Clean install: rule. 2006-01-15 07:29:30 +00:00