PEP Page Generation¶
Process Overview¶
We are generating the PEP pages by lightly parsing the HTML output from the PEP Repository and then cleaning up some post-parsing formatting.
The PEP Page Generation process is as follows:
Clone the PEP Repository, if you have not already done so:
$ git clone https://github.com/python/peps.git
From the cloned PEP Repository, run:
$ make -j
Set
PEP_REPO_PATH
inpydotorg/settings/local.py
to the location of the cloned PEP RepositoryGenerate PEP pages in your
pythondotorg
repository (More details at generate_pep_pages). You can run like:$ ./manage.py generate_pep_pages
This process runs periodically via cron to keep the PEP pages up to date.
See Management Commands for all management commands.