Sphinx 0.3¶
Release 0.3 (May 6, 2008)¶
New features added¶
The
toctreedirective now supports agloboption that allows glob-style entries in the content.If the
pygments_styleconfig value contains a dot it’s treated as the import path of a custom Pygments style class.A new config value,
exclude_dirs, can be used to exclude whole directories from the search for source files.The configuration directory (containing
conf.py) can now be set independently from the source directory. For that, a new command-line option-chas been added.A new directive
tabularcolumnscan be used to give a tabular column specification for LaTeX output. Tables now use thetabularypackage. Literal blocks can now be placed in tables, with several caveats.A new config value,
latex_use_parts, can be used to enable parts in LaTeX documents.Autodoc now skips inherited members for classes, unless you give the new
inherited-membersoption.A new config value,
autoclass_content, selects if the docstring of the class’__init__method is added to the directive’s body.Support for C++ class names (in the style
Class::Function) in C function descriptions.Support for a
toctree_onlyitem in items for thelatex_documentsconfig value. This only includes the documents referenced by TOC trees in the output, not the rest of the file containing the directive.
Bugs fixed¶
sphinx.htmlwriter: Correctly write the TOC file for any structure of the master document. Also encode non-ASCII characters as entities in TOC and index file. Remove two remaining instances of hard-coded "documentation".
sphinx.ext.autodoc: descriptors are detected properly now.
sphinx.latexwriter: implement all reST admonitions, not just
noteandwarning.Lots of little fixes to the LaTeX output and style.
Fix OpenSearch template and make template URL absolute. The
html_use_opensearchconfig value now must give the base URL.Some unused files are now stripped from the HTML help file build.