Reader: | PEP |
---|---|
Parser: | reStructuredText |
Writer: | PEP/HTML |
pep.py reads a new-style PEP (marked up with reStructuredText) and produces HTML. It requires a template file and a stylesheet. By default, it makes use of a "pep-html-template" file and a "default.css" stylesheet in the current directory, but these can be overridden by command-line options or configuration files. The "tools/stylesheets/pep.css" stylesheet is intended specifically for PEP use.
The "docutils.conf" configuration file in the "spec" directory of Docutils contains a default setup for use in processing the PEP files there (spec/pep-*.txt) into HTML. It specifies a default template (tools/pep-html-template) and a default stylesheet (tools/stylesheets/pep.css). See Stylesheets above for more information.