The source distribution for the standard Python documentation contains a large number of directories. While third-party documents do not need to be placed into this structure or need to be placed within a similar structure, it can be helpful to know where to look for examples and tools when developing new documents using the Python documentation tools. This section describes this directory structure.
The documentation sources are usually placed within the Python source distribution as the top-level directory Doc/, but are not dependent on the Python source distribution in any way.
The Doc/ directory contains a few files and several subdirectories. The files are mostly self-explanatory, including a README and a Makefile. The directories fall into three categories:
Directory | Document Title |
---|---|
api/ | The Python/C API |
dist/ | Distributing Python Modules |
doc/ | Documenting Python |
ext/ | Extending and Embedding the Python Interpreter |
inst/ | Installing Python Modules |
lib/ | Python Library Reference |
mac/ | Macintosh Module Reference |
ref/ | Python Reference Manual |
tut/ | Python Tutorial |
whatsnew/ | What's New in Python 2.4 |
Directory | Output Formats |
---|---|
html/ | HTML output |
info/ | GNU info output |
isilo/ | iSilo documents (for Palm OS devices) |
paper-a4/ | PDF and PostScript, A4 paper |
paper-letter/ | PDF and PostScript, US-Letter paper |
Directory | Contents |
---|---|
commontex/ | Document content shared among documents |
perl/ | Support for LaTeX2HTML processing |
templates/ | Example files for source documents |
texinputs/ | Style implementation for LaTeX |
tools/ | Custom processing scripts |
See About this document... for information on suggesting changes.