5.4.1 Themes

The theming support in the XHTML renderer is the same as that of the ZPT renderer. Any template directory can have a subdirectory called ‘Themes’ which contains theme directories with sets of templates in them. The names of the directories in the ‘Themes’ directory corresponds to the name of the theme. There are currently four themes included with plasTeX: default, plain, minimal, and python. The default theme is a minor variation of the one used in the Python 1.6 documentation. The plain theme is a theme with no extra navigation bars. The minimal theme contains nothing but what is required to generate a legal HTML document; it is mainly used in the unit tests. The python theme creates documentation that looks like the standard Python documentation at http://docs.python.org/.