2008-05-31 15:45:09 +00:00
|
|
|
Changes in trunk
|
2008-05-06 14:25:29 +00:00
|
|
|
================
|
|
|
|
|
|
|
|
New features added
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* A new config value, `html_file_suffix`, can be used to set the HTML file
|
|
|
|
suffix to e.g. ``.xhtml``.
|
|
|
|
|
2008-05-06 18:23:36 +00:00
|
|
|
* The `autodoc` extension accepts signatures for functions, methods and
|
|
|
|
classes now that override the signature got via introspection from
|
|
|
|
Python code.
|
2008-05-06 18:07:17 +00:00
|
|
|
|
2008-05-23 14:01:53 +00:00
|
|
|
* The new config value `html_use_index` can be used to switch index
|
|
|
|
generation in HTML documents off.
|
|
|
|
|
2008-05-24 16:28:06 +00:00
|
|
|
* The new `exclude_trees` config option can be used to exclude whole
|
|
|
|
subtrees from the search for source files.
|
|
|
|
|
2008-05-24 16:40:11 +00:00
|
|
|
* The directories in the `html_static_path` can now contain subdirectories.
|
|
|
|
|
2008-05-24 18:03:56 +00:00
|
|
|
* The new config value `html_short_title` can be used to set a shorter
|
|
|
|
title for the documentation which is then used in the navigation bar.
|
|
|
|
|
|
|
|
* The new config value `html_show_sphinx` can be used to control whether
|
|
|
|
a link to Sphinx is added to the HTML footer.
|
|
|
|
|
|
|
|
* Defaults for configuration values can now be callables, which allows
|
|
|
|
dynamic defaults.
|
|
|
|
|
2008-05-31 16:14:36 +00:00
|
|
|
* The new ``html-page-context`` event can be used to include custom values
|
|
|
|
into the context used when rendering an HTML template.
|
|
|
|
|
|
|
|
* Add document metadata to the values in the default template context.
|
|
|
|
|
2008-05-06 21:53:21 +00:00
|
|
|
Bugs fixed
|
|
|
|
----------
|
|
|
|
|
|
|
|
* Fix the LaTeX output of description units with multiple signatures.
|
|
|
|
|
2008-05-16 13:36:49 +00:00
|
|
|
* Handle the figure directive in LaTeX output.
|
|
|
|
|
2008-05-30 20:07:43 +00:00
|
|
|
* Handle raw admonitions in LaTeX output.
|
|
|
|
|
2008-05-23 13:41:14 +00:00
|
|
|
* Fix determination of the title in HTML help output.
|
|
|
|
|
2008-05-23 13:47:34 +00:00
|
|
|
* Handle project names containing spaces.
|
|
|
|
|
2008-05-23 13:54:50 +00:00
|
|
|
* Don't write SSI-like comments in HTML output.
|
|
|
|
|
|
|
|
* Rename the "sidebar" class to "sphinxsidebar" in order to stay different
|
|
|
|
from reST sidebars.
|
|
|
|
|
2008-05-23 14:11:53 +00:00
|
|
|
* Use a binary TOC in HTML help generation to fix issues links without
|
|
|
|
explicit anchors.
|
|
|
|
|
2008-05-24 16:18:54 +00:00
|
|
|
* Fix behavior of references to functions/methods with an explicit title.
|
|
|
|
|
2008-05-24 19:29:20 +00:00
|
|
|
* Support citation nodes in LaTeX writer.
|
|
|
|
|
|
|
|
* Provide the standard "class" directive as "cssclass"; else it is
|
|
|
|
shadowed by the Sphinx-defined directive.
|
2008-05-24 16:45:52 +00:00
|
|
|
|
2008-05-06 14:25:29 +00:00
|
|
|
|
2008-05-06 07:23:08 +00:00
|
|
|
Release 0.3 (May 6, 2008)
|
|
|
|
=========================
|
2008-04-28 13:22:14 +00:00
|
|
|
|
|
|
|
New features added
|
|
|
|
------------------
|
|
|
|
|
2008-05-04 16:57:15 +00:00
|
|
|
* The ``toctree`` directive now supports a ``glob`` option that allows
|
|
|
|
glob-style entries in the content.
|
|
|
|
|
2008-05-02 09:00:09 +00:00
|
|
|
* If the `pygments_style` config value contains a dot it's treated as the
|
|
|
|
import path of a custom Pygments style class.
|
|
|
|
|
2008-05-02 09:15:59 +00:00
|
|
|
* A new config value, `exclude_dirs`, can be used to exclude whole
|
|
|
|
directories from the search for source files.
|
|
|
|
|
2008-05-02 10:33:44 +00:00
|
|
|
* The configuration directory (containing ``conf.py``) can now be set
|
|
|
|
independently from the source directory. For that, a new command-line
|
|
|
|
option ``-c`` has been added.
|
|
|
|
|
2008-05-03 18:14:13 +00:00
|
|
|
* A new directive ``tabularcolumns`` can be used to give a tabular column
|
|
|
|
specification for LaTeX output. Tables now use the ``tabulary`` package.
|
2008-05-04 07:47:16 +00:00
|
|
|
Literal blocks can now be placed in tables, with several caveats.
|
2008-05-03 18:14:13 +00:00
|
|
|
|
|
|
|
* A new config value, `latex_use_parts`, can be used to enable parts in LaTeX
|
|
|
|
documents.
|
|
|
|
|
2008-05-04 09:37:37 +00:00
|
|
|
* Autodoc now skips inherited members for classes, unless you give the
|
|
|
|
new ``inherited-members`` option.
|
|
|
|
|
|
|
|
* A new config value, `autoclass_content`, selects if the docstring of the
|
|
|
|
class' ``__init__`` method is added to the directive's body.
|
|
|
|
|
2008-05-04 17:55:35 +00:00
|
|
|
* Support for C++ class names (in the style ``Class::Function``) in C function
|
|
|
|
descriptions.
|
|
|
|
|
2008-05-04 21:35:03 +00:00
|
|
|
* Support for a ``toctree_only`` item in items for the ``latex_documents``
|
|
|
|
config value. This only includes the documents referenced by TOC trees in the
|
|
|
|
output, not the rest of the file containing the directive.
|
|
|
|
|
2008-05-02 09:00:09 +00:00
|
|
|
Bugs fixed
|
|
|
|
----------
|
|
|
|
|
|
|
|
* sphinx.htmlwriter: Correctly write the TOC file for any structure of the
|
2008-05-02 09:52:34 +00:00
|
|
|
master document. Also encode non-ASCII characters as entities in TOC
|
2008-05-04 07:07:48 +00:00
|
|
|
and index file. Remove two remaining instances of hard-coded
|
|
|
|
"documentation".
|
2008-04-28 13:22:14 +00:00
|
|
|
|
2008-05-04 16:57:15 +00:00
|
|
|
* sphinx.ext.autodoc: descriptors are detected properly now.
|
|
|
|
|
2008-05-06 07:21:46 +00:00
|
|
|
* sphinx.latexwriter: implement all reST admonitions, not just ``note``
|
|
|
|
and ``warning``.
|
|
|
|
|
2008-05-03 18:14:13 +00:00
|
|
|
* Lots of little fixes to the LaTeX output and style.
|
|
|
|
|
2008-05-03 20:15:25 +00:00
|
|
|
* Fix OpenSearch template and make template URL absolute. The
|
|
|
|
`html_use_opensearch` config value now must give the base URL.
|
|
|
|
|
2008-05-03 20:48:54 +00:00
|
|
|
* Some unused files are now stripped from the HTML help file build.
|
|
|
|
|
2008-04-28 13:22:14 +00:00
|
|
|
|
2008-04-27 20:08:05 +00:00
|
|
|
Release 0.2 (Apr 27, 2008)
|
|
|
|
==========================
|
2008-03-28 18:45:32 +00:00
|
|
|
|
2008-04-19 21:28:24 +00:00
|
|
|
Incompatible changes
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
* Jinja, the template engine used for the default HTML templates, is now
|
|
|
|
no longer shipped with Sphinx. If it is not installed automatically for
|
|
|
|
you (it is now listed as a dependency in ``setup.py``), install it manually
|
|
|
|
from PyPI. This will also be needed if you're using Sphinx from a SVN
|
|
|
|
checkout; in that case please also remove the ``sphinx/jinja`` directory
|
|
|
|
that may be left over from old revisions.
|
|
|
|
|
|
|
|
* The clumsy handling of the ``index.html`` template was removed. The config
|
|
|
|
value ``html_index`` is gone, and ``html_additional_pages`` should be used
|
|
|
|
instead. If you need it, the old ``index.html`` template is still there,
|
|
|
|
called ``defindex.html``, and you can port your html_index template, using
|
|
|
|
Jinja inheritance, by changing your template::
|
|
|
|
|
|
|
|
{% extends "defindex.html" %}
|
|
|
|
{% block tables %}
|
|
|
|
... old html_index template content ...
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
and putting ``'index': name of your template`` in ``html_additional_pages``.
|
|
|
|
|
2008-04-27 15:48:24 +00:00
|
|
|
* In the layout template, redundant ``block``\s were removed; you should use
|
2008-04-27 19:43:45 +00:00
|
|
|
Jinja's standard ``{{ super() }}`` mechanism instead, as explained in the
|
|
|
|
(newly written) templating docs.
|
2008-04-27 15:48:24 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
New features added
|
|
|
|
------------------
|
2008-03-28 18:45:32 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
* Extension API (Application object):
|
2008-04-13 08:20:11 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
- Support a new method, ``add_crossref_type``. It works like
|
|
|
|
``add_description_unit`` but the directive will only create a target
|
|
|
|
and no output.
|
|
|
|
- Support a new method, ``add_transform``. It takes a standard docutils
|
|
|
|
``Transform`` subclass which is then applied by Sphinx' reader on
|
|
|
|
parsing reST document trees.
|
|
|
|
- Add support for other template engines than Jinja, by adding an
|
|
|
|
abstraction called a "template bridge". This class handles rendering
|
|
|
|
of templates and can be changed using the new configuration value
|
|
|
|
"template_bridge".
|
|
|
|
- The config file itself can be an extension (if it provides a ``setup()``
|
|
|
|
function).
|
2008-04-13 17:57:14 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
* Markup:
|
2008-04-12 21:10:33 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
- New directive, ``currentmodule``. It can be used to indicate the module
|
|
|
|
name of the following documented things without creating index entries.
|
|
|
|
- Allow giving a different title to documents in the toctree.
|
|
|
|
- Allow giving multiple options in a ``cmdoption`` directive.
|
|
|
|
- Fix display of class members without explicit class name given.
|
2008-04-06 16:47:28 +00:00
|
|
|
|
2008-04-27 19:43:45 +00:00
|
|
|
* Templates (HTML output):
|
2008-04-19 21:28:24 +00:00
|
|
|
|
|
|
|
- ``index.html`` renamed to ``defindex.html``, see above.
|
|
|
|
- There's a new config value, ``html_title``, that controls the overall
|
|
|
|
"title" of the set of Sphinx docs. It is used instead everywhere instead of
|
|
|
|
"Projectname vX.Y documentation" now.
|
|
|
|
- All references to "documentation" in the templates have been removed, so
|
|
|
|
that it is now easier to use Sphinx for non-documentation documents with
|
|
|
|
the default templates.
|
2008-04-20 15:08:39 +00:00
|
|
|
- Templates now have an XHTML doctype, to be consistent with docutils'
|
|
|
|
HTML output.
|
2008-04-27 18:08:55 +00:00
|
|
|
- You can now create an OpenSearch description file with the
|
|
|
|
``html_use_opensearch`` config value.
|
2008-04-27 19:43:45 +00:00
|
|
|
- You can now quickly include a logo in the sidebar, using the ``html_logo``
|
|
|
|
config value.
|
|
|
|
- There are new blocks in the sidebar, so that you can easily insert content
|
|
|
|
into the sidebar.
|
2008-04-19 21:28:24 +00:00
|
|
|
|
2008-04-27 19:43:45 +00:00
|
|
|
* LaTeX output:
|
|
|
|
|
|
|
|
- The ``sphinx.sty`` package was cleaned of unused stuff.
|
|
|
|
- You can include a logo in the title page with the ``latex_logo`` config
|
|
|
|
value.
|
|
|
|
- You can define the link colors and a border and background color for
|
|
|
|
verbatim environments.
|
|
|
|
|
|
|
|
Thanks to Jacob Kaplan-Moss, Talin, Jeroen Ruigrok van der Werven and Sebastian
|
|
|
|
Wiesner for suggestions.
|
2008-03-30 06:36:20 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
Bugs fixed
|
|
|
|
----------
|
2008-04-07 05:19:26 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
* sphinx.ext.autodoc: Don't check ``__module__`` for explicitly given
|
|
|
|
members. Remove "self" in class constructor argument list.
|
2008-04-12 21:23:35 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
* sphinx.htmlwriter: Don't use os.path for joining image HREFs.
|
2008-04-07 05:19:26 +00:00
|
|
|
|
2008-04-27 19:53:27 +00:00
|
|
|
* sphinx.htmlwriter: Don't use SmartyPants for HTML attribute values.
|
|
|
|
|
2008-04-27 16:21:04 +00:00
|
|
|
* sphinx.latexwriter: Implement option lists. Also, some other changes
|
|
|
|
were made to ``sphinx.sty`` in order to enhance compatibility and
|
|
|
|
remove old unused stuff. Thanks to Gael Varoquaux for that!
|
2008-04-20 14:58:50 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
* sphinx.roles: Fix referencing glossary terms with explicit targets.
|
2008-04-06 16:47:28 +00:00
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
* sphinx.environment: Don't swallow TOC entries when resolving subtrees.
|
2008-04-06 17:38:55 +00:00
|
|
|
|
2008-04-21 16:14:16 +00:00
|
|
|
* sphinx.quickstart: Create a sensible default latex_documents setting.
|
|
|
|
|
2008-04-13 18:16:55 +00:00
|
|
|
* sphinx.builder, sphinx.environment: Gracefully handle some user error
|
|
|
|
cases.
|
2008-04-06 19:05:13 +00:00
|
|
|
|
2008-04-27 15:48:24 +00:00
|
|
|
* sphinx.util: Follow symbolic links when searching for documents.
|
|
|
|
|
2008-03-28 18:45:32 +00:00
|
|
|
|
2008-03-26 15:34:47 +00:00
|
|
|
Release 0.1.61950 (Mar 26, 2008)
|
|
|
|
================================
|
|
|
|
|
|
|
|
* sphinx.quickstart: Fix format string for Makefile.
|
|
|
|
|
|
|
|
|
2008-03-26 13:13:42 +00:00
|
|
|
Release 0.1.61945 (Mar 26, 2008)
|
|
|
|
================================
|
2008-03-25 10:16:51 +00:00
|
|
|
|
2008-03-25 12:32:03 +00:00
|
|
|
* sphinx.htmlwriter, sphinx.latexwriter: Support the ``.. image::``
|
|
|
|
directive by copying image files to the output directory.
|
|
|
|
|
2008-03-25 18:32:23 +00:00
|
|
|
* sphinx.builder: Consistently name "special" HTML output directories
|
|
|
|
with a leading underscore; this means ``_sources`` and ``_static``.
|
|
|
|
|
2008-03-25 10:16:51 +00:00
|
|
|
* sphinx.environment: Take dependent files into account when collecting
|
|
|
|
the set of outdated sources.
|
|
|
|
|
2008-03-25 10:31:13 +00:00
|
|
|
* sphinx.directives: Record files included with ``.. literalinclude::``
|
|
|
|
as dependencies.
|
|
|
|
|
|
|
|
* sphinx.ext.autodoc: Record files from which docstrings are included
|
|
|
|
as dependencies.
|
|
|
|
|
2008-03-25 15:22:25 +00:00
|
|
|
* sphinx.builder: Rebuild all HTML files in case of a template change.
|
|
|
|
|
2008-03-25 10:36:39 +00:00
|
|
|
* sphinx.builder: Handle unavailability of TOC relations (previous/
|
|
|
|
next chapter) more gracefully in the HTML builder.
|
|
|
|
|
2008-03-25 20:49:51 +00:00
|
|
|
* sphinx.latexwriter: Include fncychap.sty which doesn't seem to be
|
|
|
|
very common in TeX distributions. Add a ``clean`` target in the
|
2008-03-26 12:16:59 +00:00
|
|
|
latex Makefile. Really pass the correct paper and size options
|
|
|
|
to the LaTeX document class.
|
2008-03-25 20:49:51 +00:00
|
|
|
|
2008-03-25 11:01:28 +00:00
|
|
|
* setup: On Python 2.4, don't egg-depend on docutils if a docutils is
|
|
|
|
already installed -- else it will be overwritten.
|
|
|
|
|
2008-03-25 10:16:51 +00:00
|
|
|
|
2008-03-24 09:43:00 +00:00
|
|
|
Release 0.1.61843 (Mar 24, 2008)
|
|
|
|
================================
|
2008-03-23 17:33:50 +00:00
|
|
|
|
|
|
|
* sphinx.quickstart: Really don't create a makefile if the user
|
|
|
|
doesn't want one.
|
|
|
|
|
2008-03-23 18:26:24 +00:00
|
|
|
* setup: Don't install scripts twice, via setuptools entry points
|
|
|
|
and distutils scripts. Only install via entry points.
|
|
|
|
|
|
|
|
* sphinx.builder: Don't recognize the HTML builder's copied source
|
2008-03-23 21:30:58 +00:00
|
|
|
files (under ``_sources``) as input files if the source suffix is
|
2008-03-23 18:26:24 +00:00
|
|
|
``.txt``.
|
|
|
|
|
2008-03-23 19:33:12 +00:00
|
|
|
* sphinx.highlighting: Generate correct markup for LaTeX Verbatim
|
|
|
|
environment escapes even if Pygments is not installed.
|
|
|
|
|
2008-03-23 19:40:17 +00:00
|
|
|
* sphinx.builder: The WebHTMLBuilder is now called PickleHTMLBuilder.
|
|
|
|
|
2008-03-23 21:11:33 +00:00
|
|
|
* sphinx.htmlwriter: Make parsed-literal blocks work as expected,
|
|
|
|
not highlighting them via Pygments.
|
|
|
|
|
2008-03-24 09:42:28 +00:00
|
|
|
* sphinx.environment: Don't error out on reading an empty source file.
|
|
|
|
|
2008-03-23 18:26:24 +00:00
|
|
|
|
2008-03-23 15:07:15 +00:00
|
|
|
Release 0.1.61798 (Mar 23, 2008)
|
|
|
|
================================
|
|
|
|
|
|
|
|
* sphinx: Work with docutils SVN snapshots as well as 0.4.
|
2008-03-22 20:44:56 +00:00
|
|
|
|
|
|
|
* sphinx.ext.doctest: Make the group in which doctest blocks are
|
|
|
|
placed selectable, and default to ``'default'``.
|
|
|
|
|
2008-03-23 21:30:58 +00:00
|
|
|
* sphinx.ext.doctest: Replace ``<BLANKLINE>`` in doctest blocks by
|
2008-03-22 21:21:28 +00:00
|
|
|
real blank lines for presentation output, and remove doctest
|
|
|
|
options given inline.
|
2008-03-22 21:10:35 +00:00
|
|
|
|
|
|
|
* sphinx.environment: Move doctest_blocks out of block_quotes to
|
|
|
|
support indented doctest blocks.
|
|
|
|
|
2008-03-23 21:30:58 +00:00
|
|
|
* sphinx.ext.autodoc: Render ``.. automodule::`` docstrings in a
|
|
|
|
section node, so that module docstrings can contain proper
|
|
|
|
sectioning.
|
2008-03-23 08:28:14 +00:00
|
|
|
|
2008-03-23 11:32:33 +00:00
|
|
|
* sphinx.ext.autodoc: Use the module's encoding for decoding
|
|
|
|
docstrings, rather than requiring ASCII.
|
|
|
|
|
2008-03-22 20:44:56 +00:00
|
|
|
|
2008-03-23 06:37:04 +00:00
|
|
|
Release 0.1.61611 (Mar 21, 2008)
|
|
|
|
================================
|
2008-03-22 20:44:56 +00:00
|
|
|
|
2008-03-25 20:49:51 +00:00
|
|
|
* First public release.
|