39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
reStructuredText for PEPs
|
|
=========================
|
|
|
|
Original PEP source may be written using two standard formats, a
|
|
mildly idiomatic plain text format and a the reStructuredText format
|
|
(also, technically plain text). These two formats are described in
|
|
PEP 9 and PEP 12 respectively. The pep2html.py processing and
|
|
installation scripts knows how to produce the html for either PEP
|
|
format, however in order to process reStructuredText PEPs, you must
|
|
install the Docutils package. If this package is not installed,
|
|
pep2html.py will simply skip any reStructuredText PEPs.
|
|
|
|
|
|
Installing Docutils for reStructuredText PEPs
|
|
=============================================
|
|
|
|
:Author: David Goodger
|
|
:Contact: goodger@users.sourceforge.net
|
|
|
|
1. Get the latest Docutils software (CVS snapshot):
|
|
|
|
http://docutils.sourceforge.net/docutils-snapshot.tgz
|
|
|
|
2. Unpack and install the tarball::
|
|
|
|
tar -xzf docutils-snapshot.tgz
|
|
cd docutils
|
|
python setup.py install
|
|
|
|
3. Run the pep2html.py script from the updated nondist/peps directory
|
|
as usual::
|
|
|
|
cd <path-to-CVS-checkout>/nondist/peps
|
|
cvs update
|
|
pep2html.py ...
|
|
|
|
Please report any problems or questions to
|
|
docutils-develop@lists.sourceforge.net or to the author.
|