Prev Next | Back Along | Up Home

pep2html.py

Reader:PEP
Parser:reStructuredText
Writer:PEP/HTML

pep2html.py is a modified version of the original script by Fredrik Lundh, with support for Docutils added. It reads the beginning of a PEP text file to determine the format (old-style indented or new-style reStructuredText) and processes accordingly. Since it does not use the Docutils front end mechanism (the common command-line options are not supported), it can only be configured using configuration files. The template and stylesheet requirements of pep2html.py are the same as those of pep.py above.

Arguments to pep2html.py may be a list of PEP numbers or .txt files. If no arguments are given, all files of the form "pep-*.txt" are processed.

Prev Next | Back Along | Up Home