2008-11-30 09:33:56 -06:00
|
|
|
Release 0.6 (in development)
|
|
|
|
============================
|
|
|
|
|
|
|
|
New features added
|
|
|
|
------------------
|
|
|
|
|
2008-11-30 13:38:59 -06:00
|
|
|
* Configuration:
|
|
|
|
|
2008-11-30 13:57:48 -06:00
|
|
|
- The new ``html_add_permalinks`` config value can be used to
|
2008-11-30 13:38:59 -06:00
|
|
|
switch off the generated "paragraph sign" permalinks for each
|
|
|
|
heading and definition environment.
|
|
|
|
|
2008-11-30 12:58:29 -06:00
|
|
|
* Extension API:
|
|
|
|
|
2008-11-30 13:38:59 -06:00
|
|
|
- There is now a Sphinx.add_lexer() method to add custom Pygments
|
|
|
|
lexers.
|
2008-11-30 12:58:29 -06:00
|
|
|
|
2008-11-30 09:33:56 -06:00
|
|
|
* Other changes:
|
|
|
|
|
2008-11-30 13:38:59 -06:00
|
|
|
- Config overrides for single dict keys can now be given on the
|
|
|
|
command line.
|
2008-11-30 09:33:56 -06:00
|
|
|
|
|
|
|
|
2008-11-30 13:56:08 -06:00
|
|
|
Release 0.5.1 (in development)
|
|
|
|
==============================
|
|
|
|
|
2008-12-07 15:36:23 -06:00
|
|
|
* Fix a bug in autodoc when documenting classes with the option.
|
|
|
|
``autoclass_content = "both"`` set.
|
|
|
|
|
2008-11-30 13:56:08 -06:00
|
|
|
* Don't crash on empty index entries, only emit a warning.
|
|
|
|
|
2008-12-06 01:58:47 -06:00
|
|
|
* Fix a typo in the search JavaScript code, leading to unusable
|
|
|
|
search function in some setups.
|
|
|
|
|
2008-11-30 13:56:08 -06:00
|
|
|
|
2008-11-23 12:02:32 -06:00
|
|
|
Release 0.5 (Nov 23, 2008) -- Birthday release!
|
|
|
|
===============================================
|
2008-06-26 04:40:42 -05:00
|
|
|
|
|
|
|
New features added
|
|
|
|
------------------
|
|
|
|
|
2008-10-25 10:54:34 -05:00
|
|
|
* Markup features:
|
|
|
|
|
|
|
|
- Citations are now global: all citation defined in any file can be
|
|
|
|
referenced from any file. Citations are collected in a bibliography
|
|
|
|
for LaTeX output.
|
|
|
|
|
|
|
|
- Footnotes are now properly handled in the LaTeX builder: they appear
|
|
|
|
at the location of the footnote reference in text, not at the end of
|
|
|
|
a section. Thanks to Andrew McNamara for the initial patch.
|
|
|
|
|
|
|
|
- "System Message" warnings are now automatically removed from the
|
|
|
|
built documentation, and only written to stderr. If you want the
|
|
|
|
old behavior, set the new config value ``keep_warnings`` to True.
|
|
|
|
|
|
|
|
- Glossary entries are now automatically added to the index.
|
|
|
|
|
|
|
|
- Figures with captions can now be referred to like section titles,
|
|
|
|
using the ``:ref:`` role without an explicit link text.
|
|
|
|
|
|
|
|
- Added ``cmember`` role for consistency.
|
|
|
|
|
2008-10-25 11:53:29 -05:00
|
|
|
- Lists enumerated by letters or roman numerals are now handled like in
|
|
|
|
standard reST.
|
|
|
|
|
2008-11-04 14:35:05 -06:00
|
|
|
- The ``seealso`` directive can now also be given arguments, as a short
|
|
|
|
form.
|
|
|
|
|
2008-11-09 11:29:16 -06:00
|
|
|
- You can now document several programs and their options with the
|
|
|
|
new ``program`` directive.
|
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
* HTML output and templates:
|
|
|
|
|
|
|
|
- Incompatible change: The "root" relation link (top left in the
|
|
|
|
relbar) now points to the ``master_doc`` by default, no longer to a
|
|
|
|
document called "index". The old behavior, while useful in some
|
2008-09-24 10:36:34 -05:00
|
|
|
situations, was somewhat unexpected. Override the "rootrellink"
|
|
|
|
block in the template to customize where it refers to.
|
2008-09-24 07:20:41 -05:00
|
|
|
|
|
|
|
- The JavaScript search now searches for objects before searching in
|
|
|
|
the full text.
|
|
|
|
|
2008-11-09 13:43:36 -06:00
|
|
|
- TOC tree entries now have CSS classes that make it possible to
|
|
|
|
style them depending on their depth.
|
|
|
|
|
|
|
|
- Highlighted code blocks now have CSS classes that make it possible
|
|
|
|
to style them depending on their language.
|
|
|
|
|
2008-10-18 04:29:49 -05:00
|
|
|
- HTML ``<meta>`` tags via the docutils ``meta`` directive are now
|
|
|
|
supported.
|
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- ``SerializingHTMLBuilder`` was added as new abstract builder that
|
|
|
|
can be subclassed to serialize build HTML in a specific format. The
|
|
|
|
``PickleHTMLBuilder`` is a concrete subclass of it that uses pickle
|
|
|
|
as serialization implementation.
|
2008-10-25 10:54:34 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- ``JSONHTMLBuilder`` was added as another ``SerializingHTMLBuilder``
|
|
|
|
subclass that dumps the generated HTML into JSON files for further
|
|
|
|
processing.
|
|
|
|
|
|
|
|
- The ``rellinks`` block in the layout template is now called
|
|
|
|
``linktags`` to avoid confusion with the relbar links.
|
2008-07-29 04:51:58 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- The HTML builders have two additional attributes now that can be
|
|
|
|
used to disable the anchor-link creation after headlines and
|
|
|
|
definition links.
|
2008-08-10 12:10:31 -05:00
|
|
|
|
2008-11-04 01:41:42 -06:00
|
|
|
- Only generate a module index if there are some modules in the
|
|
|
|
documentation.
|
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
* New and changed config values:
|
2008-10-25 10:54:34 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- Added support for internationalization in generated text with the
|
|
|
|
``language`` and ``locale_dirs`` config values. Many thanks to
|
|
|
|
language contributors:
|
|
|
|
|
|
|
|
* Horst Gutmann -- German
|
|
|
|
* Pavel Kosina -- Czech
|
|
|
|
* David Larlet -- French
|
|
|
|
* Michał Kandulski -- Polish
|
|
|
|
* Yasushi Masuda -- Japanese
|
2008-10-25 11:10:21 -05:00
|
|
|
* Guillem Borrell -- Spanish
|
2008-11-13 02:16:28 -06:00
|
|
|
* Luc Saffre and Peter Bertels -- Dutch
|
2008-11-13 02:18:55 -06:00
|
|
|
* Fred Lin -- Traditional Chinese
|
2008-11-19 11:28:23 -06:00
|
|
|
* Roger Demetrescu -- Brazilian Portuguese
|
2008-11-19 11:35:00 -06:00
|
|
|
* Rok Garbas -- Slovenian
|
2008-09-09 14:10:09 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- The new config value ``highlight_language`` set a global default for
|
|
|
|
highlighting. When ``'python3'`` is selected, console output blocks
|
|
|
|
are recognized like for ``'python'``.
|
2008-09-12 08:09:43 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- Exposed Pygments' lexer guessing as a highlight "language" ``guess``.
|
2008-06-26 04:40:42 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- The new config value ``latex_elements`` allows to override all LaTeX
|
|
|
|
snippets that Sphinx puts into the generated .tex file by default.
|
2008-06-26 06:11:20 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- Added ``exclude_dirnames`` config value that can be used to exclude
|
|
|
|
e.g. CVS directories from source file search.
|
2008-07-08 09:45:44 -05:00
|
|
|
|
2008-10-16 14:21:06 -05:00
|
|
|
- Added ``source_encoding`` config value to select input encoding.
|
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
* Extensions:
|
2008-08-05 05:25:40 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- The new extensions ``sphinx.ext.jsmath`` and ``sphinx.ext.pngmath``
|
|
|
|
provide math support for both HTML and LaTeX builders.
|
2008-07-10 08:59:59 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- The new extension ``sphinx.ext.intersphinx`` half-automatically
|
|
|
|
creates links to Sphinx documentation of Python objects in other
|
|
|
|
projects.
|
2008-08-15 14:43:52 -05:00
|
|
|
|
2008-11-09 12:46:32 -06:00
|
|
|
- The new extension ``sphinx.ext.todo`` allows the insertion of
|
|
|
|
"To do" directives whose visibility in the output can be toggled.
|
|
|
|
It also adds a directive to compile a list of all todo items.
|
|
|
|
|
2008-11-02 14:04:24 -06:00
|
|
|
- sphinx.ext.autodoc has a new event ``autodoc-process-signature``
|
2008-09-24 07:20:41 -05:00
|
|
|
that allows tuning function signature introspection.
|
2008-08-07 13:29:48 -05:00
|
|
|
|
2008-11-02 14:04:24 -06:00
|
|
|
- sphinx.ext.autodoc has a new event ``autodoc-skip-member`` that allows
|
|
|
|
tuning which members are included in the generated content.
|
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- Respect __all__ when autodocumenting module members.
|
2008-08-10 12:21:08 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- The `automodule` directive now supports the ``synopsis``,
|
|
|
|
``deprecated`` and ``platform`` options.
|
2008-07-29 13:30:23 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
* Extension API:
|
2008-09-16 02:49:27 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- ``Sphinx.add_node()`` now takes optional visitor methods for the
|
|
|
|
HTML, LaTeX and text translators; this prevents having to manually
|
|
|
|
patch the classes.
|
2008-08-06 08:04:14 -05:00
|
|
|
|
2008-09-24 07:20:41 -05:00
|
|
|
- Added ``Sphinx.add_javascript()`` that adds scripts to load in the
|
|
|
|
default HTML template.
|
2008-08-04 04:54:45 -05:00
|
|
|
|
2008-10-16 14:04:45 -05:00
|
|
|
- Added new events: ``source-read``, ``env-updated``,
|
2008-11-09 04:56:40 -06:00
|
|
|
``env-purge-doc``, ``missing-reference``, ``build-finished``.
|
2008-09-24 07:20:41 -05:00
|
|
|
|
|
|
|
* Other changes:
|
|
|
|
|
2008-11-04 01:46:28 -06:00
|
|
|
- Added a command-line switch ``-Q``: it will suppress warnings.
|
|
|
|
|
2008-11-04 12:51:23 -06:00
|
|
|
- Added a command-line switch ``-A``: it can be used to supply
|
|
|
|
additional values into the HTML templates.
|
2008-11-04 01:46:28 -06:00
|
|
|
|
2008-11-16 06:29:10 -06:00
|
|
|
- Added a command-line switch ``-C``: if it is given, no configuration
|
|
|
|
file ``conf.py`` is required.
|
|
|
|
|
2008-09-24 11:13:36 -05:00
|
|
|
- Added a distutils command `build_sphinx`: When Sphinx is installed,
|
|
|
|
you can call ``python setup.py build_sphinx`` for projects that have
|
|
|
|
Sphinx documentation, which will build the docs and place them in
|
|
|
|
the standard distutils build directory.
|
|
|
|
|
2008-09-24 10:46:54 -05:00
|
|
|
- In quickstart, if the selected root path already contains a Sphinx
|
|
|
|
project, complain and abort.
|
|
|
|
|
2008-10-16 14:48:35 -05:00
|
|
|
Bugs fixed
|
|
|
|
----------
|
|
|
|
|
2008-11-23 05:43:15 -06:00
|
|
|
* Escape configuration values placed in HTML templates.
|
|
|
|
|
2008-11-22 08:28:09 -06:00
|
|
|
* Fix small problems in HTML help index generation.
|
|
|
|
|
2008-11-23 05:22:43 -06:00
|
|
|
* Fix LaTeX output for line blocks in tables.
|
|
|
|
|
2008-11-16 12:07:36 -06:00
|
|
|
* Fix "illegal unit" error when using pixel image widths/heights.
|
|
|
|
|
2008-11-16 10:35:22 -06:00
|
|
|
* Support table captions in LaTeX output.
|
|
|
|
|
2008-11-16 03:31:31 -06:00
|
|
|
* Work around a bug in Jinja that caused "<generator ...>" to be
|
|
|
|
emitted in HTML output.
|
|
|
|
|
2008-11-08 06:55:17 -06:00
|
|
|
* Fix a problem with module links not being generated in LaTeX output.
|
|
|
|
|
2008-11-06 03:36:56 -06:00
|
|
|
* Fix the handling of images in different directories.
|
|
|
|
|
2008-11-03 14:40:21 -06:00
|
|
|
* Support option lists in the text writer. Make sure that dashes
|
|
|
|
introducing long option names are not contracted to en-dashes.
|
|
|
|
|
2008-10-18 13:14:23 -05:00
|
|
|
* Support the "scale" option for images in HTML output.
|
|
|
|
|
2008-10-16 14:48:35 -05:00
|
|
|
* Properly escape quotes in HTML help attribute values.
|
|
|
|
|
2008-10-16 15:33:59 -05:00
|
|
|
* Fix LaTeX build for some description environments with ``:noindex:``.
|
|
|
|
|
2008-10-16 15:41:05 -05:00
|
|
|
* Don't crash on weird casing of role names (like ``:Class:``).
|
|
|
|
|
2008-10-16 16:16:28 -05:00
|
|
|
* Only output ANSI colors on color terminals.
|
|
|
|
|
2008-10-17 02:52:16 -05:00
|
|
|
* Update to newest fncychap.sty, to fix problems with non-ASCII
|
|
|
|
characters at the start of chapter titles.
|
|
|
|
|
2008-10-17 06:24:43 -05:00
|
|
|
* Fix a problem with index generation in LaTeX output, caused by
|
|
|
|
hyperref not being included last.
|
|
|
|
|
2008-10-25 11:40:59 -05:00
|
|
|
* Don't disregard return annotations for functions without any parameters.
|
|
|
|
|
2008-10-28 03:39:31 -05:00
|
|
|
* Don't throw away labels for code blocks.
|
|
|
|
|
2008-06-26 04:40:42 -05:00
|
|
|
|
2008-10-16 14:47:08 -05:00
|
|
|
Release 0.4.3 (Oct 8, 2008)
|
|
|
|
===========================
|
|
|
|
|
|
|
|
* Fix a bug in autodoc with directly given autodoc members.
|
|
|
|
|
|
|
|
* Fix a bug in autodoc that would import a module twice, once as
|
|
|
|
"module", once as "module.".
|
|
|
|
|
|
|
|
* Fix a bug in the HTML writer that created duplicate ``id``
|
|
|
|
attributes for section titles with docutils 0.5.
|
|
|
|
|
|
|
|
* Properly call ``super()`` in overridden blocks in templates.
|
|
|
|
|
|
|
|
* Add a fix when using XeTeX.
|
|
|
|
|
|
|
|
* Unify handling of LaTeX escaping.
|
|
|
|
|
|
|
|
* Rebuild everything when the ``extensions`` config value changes.
|
|
|
|
|
|
|
|
* Don't try to remove a nonexisting static directory.
|
|
|
|
|
|
|
|
* Fix an indentation problem in production lists.
|
|
|
|
|
|
|
|
* Fix encoding handling for literal include files: ``literalinclude``
|
|
|
|
now has an ``encoding`` option that defaults to UTF-8.
|
|
|
|
|
|
|
|
* Fix the handling of non-ASCII characters entered in quickstart.
|
|
|
|
|
|
|
|
* Fix a crash with nonexisting image URIs.
|
|
|
|
|
|
|
|
|
2008-07-29 05:00:11 -05:00
|
|
|
Release 0.4.2 (Jul 29, 2008)
|
|
|
|
============================
|
|
|
|
|
|
|
|
* Fix rendering of the ``samp`` role in HTML.
|
|
|
|
|
|
|
|
* Fix a bug with LaTeX links to headings leading to a wrong page.
|
|
|
|
|
|
|
|
* Reread documents with globbed toctrees when source files are
|
|
|
|
added or removed.
|
|
|
|
|
|
|
|
* Add a missing parameter to PickleHTMLBuilder.handle_page().
|
|
|
|
|
|
|
|
* Put inheritance info always on its own line.
|
|
|
|
|
|
|
|
* Don't automatically enclose code with whitespace in it in quotes;
|
|
|
|
only do this for the ``samp`` role.
|
|
|
|
|
|
|
|
* autodoc now emits a more precise error message when a module
|
|
|
|
can't be imported or an attribute can't be found.
|
|
|
|
|
|
|
|
* The JavaScript search now uses the correct file name suffix when
|
|
|
|
referring to found items.
|
|
|
|
|
|
|
|
* The automodule directive now accepts the ``inherited-members``
|
|
|
|
and ``show-inheritance`` options again.
|
|
|
|
|
|
|
|
* You can now rebuild the docs normally after relocating the source
|
|
|
|
and/or doctree directory.
|
|
|
|
|
|
|
|
|
2008-07-05 11:20:57 -05:00
|
|
|
Release 0.4.1 (Jul 5, 2008)
|
|
|
|
===========================
|
|
|
|
|
|
|
|
* Added sub-/superscript node handling to TextBuilder.
|
|
|
|
|
|
|
|
* Label names in references are now case-insensitive, since reST
|
|
|
|
label names are always lowercased.
|
|
|
|
|
|
|
|
* Fix linkcheck builder crash for malformed URLs.
|
|
|
|
|
|
|
|
* Add compatibility for admonitions and docutils 0.5.
|
|
|
|
|
|
|
|
* Remove the silly restriction on "rubric" in the LaTeX writer: you
|
|
|
|
can now write arbitrary "rubric" directives, and only those with
|
|
|
|
a title of "Footnotes" will be ignored.
|
|
|
|
|
|
|
|
* Copy the HTML logo to the output ``_static`` directory.
|
|
|
|
|
|
|
|
* Fix LaTeX code for modules with underscores in names and platforms.
|
|
|
|
|
|
|
|
* Fix a crash with nonlocal image URIs.
|
|
|
|
|
|
|
|
* Allow the usage of :noindex: in ``automodule`` directives, as
|
|
|
|
documented.
|
|
|
|
|
|
|
|
* Fix the ``delete()`` docstring processor function in autodoc.
|
|
|
|
|
|
|
|
* Fix warning message for nonexisting images.
|
|
|
|
|
|
|
|
* Fix JavaScript search in Internet Explorer.
|
|
|
|
|
|
|
|
|
2008-06-23 07:14:37 -05:00
|
|
|
Release 0.4 (Jun 23, 2008)
|
|
|
|
==========================
|
2008-05-06 09:25:29 -05:00
|
|
|
|
|
|
|
New features added
|
|
|
|
------------------
|
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
* ``tocdepth`` can be given as a file-wide metadata entry, and
|
|
|
|
specifies the maximum depth of a TOC of this file.
|
2008-05-06 09:25:29 -05:00
|
|
|
|
2008-06-17 05:06:37 -05:00
|
|
|
* The new config value `default_role` can be used to select the
|
|
|
|
default role for all documents.
|
2008-06-20 15:11:18 -05:00
|
|
|
|
|
|
|
* Sphinx now interprets field lists with fields like ``:param foo:``
|
|
|
|
in description units.
|
|
|
|
|
2008-06-23 07:04:56 -05:00
|
|
|
* The new `staticmethod` directive can be used to mark methods as
|
|
|
|
static methods.
|
2008-09-24 07:20:41 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
* HTML output:
|
2008-05-06 13:07:17 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
- The "previous" and "next" links have a more logical structure, so
|
|
|
|
that by following "next" links you can traverse the entire TOC
|
|
|
|
tree.
|
2008-05-23 09:01:53 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
- The new event `html-page-context` can be used to include custom
|
|
|
|
values into the context used when rendering an HTML template.
|
2008-05-24 11:28:06 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
- Document metadata is now in the default template context, under
|
|
|
|
the name `metadata`.
|
2008-05-24 11:40:11 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
- The new config value `html_favicon` can be used to set a favicon
|
|
|
|
for the HTML output. Thanks to Sebastian Wiesner.
|
2008-05-24 13:03:56 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
- The new config value `html_use_index` can be used to switch index
|
|
|
|
generation in HTML documents off.
|
2008-05-24 13:03:56 -05:00
|
|
|
|
2008-06-17 04:01:26 -05:00
|
|
|
- The new config value `html_split_index` can be used to create
|
|
|
|
separate index pages for each letter, to be used when the complete
|
|
|
|
index is too large for one page.
|
|
|
|
|
2008-06-15 03:48:06 -05: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.
|
2008-05-24 13:03:56 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
- The new config value `html_file_suffix` can be used to set the
|
|
|
|
HTML file suffix to e.g. ``.xhtml``.
|
2008-05-31 11:14:36 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
- The directories in the `html_static_path` can now contain
|
|
|
|
subdirectories.
|
2008-05-31 11:14:36 -05:00
|
|
|
|
2008-06-22 14:37:40 -05:00
|
|
|
- The module index now isn't collapsed if the number of submodules
|
|
|
|
is larger than the number of toplevel modules.
|
|
|
|
|
2008-06-15 09:31:16 -05:00
|
|
|
* The image directive now supports specifying the extension as ``.*``,
|
2008-06-17 05:38:31 -05:00
|
|
|
which makes the builder select the one that matches best. Thanks to
|
|
|
|
Sebastian Wiesner.
|
2008-06-15 09:31:16 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
* The new config value `exclude_trees` can be used to exclude whole
|
2008-06-17 05:38:31 -05:00
|
|
|
subtrees from the search for source files.
|
2008-06-15 03:48:06 -05:00
|
|
|
|
|
|
|
* Defaults for configuration values can now be callables, which allows
|
|
|
|
dynamic defaults.
|
2008-05-31 17:52:42 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
* The new TextBuilder creates plain-text output.
|
2008-06-01 17:15:51 -05:00
|
|
|
|
2008-06-18 13:34:18 -05:00
|
|
|
* Python 3-style signatures, giving a return annotation via ``->``,
|
|
|
|
are now supported.
|
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
* Extensions:
|
2008-06-22 16:02:50 -05:00
|
|
|
|
|
|
|
- The autodoc extension now offers a much more flexible way to
|
|
|
|
manipulate docstrings before including them into the output, via
|
|
|
|
the new `autodoc-process-docstring` event.
|
2008-09-24 07:20:41 -05:00
|
|
|
|
2008-06-15 03:48:06 -05:00
|
|
|
- The `autodoc` extension accepts signatures for functions, methods
|
|
|
|
and classes now that override the signature got via introspection
|
|
|
|
from Python code.
|
2008-06-12 16:56:06 -05:00
|
|
|
|
2008-06-17 04:24:11 -05:00
|
|
|
- The `autodoc` extension now offers a ``show-inheritance`` option
|
|
|
|
for autoclass that inserts a list of bases after the signature.
|
|
|
|
|
2008-06-22 12:58:05 -05:00
|
|
|
- The autodoc directives now support the ``noindex`` flag option.
|
|
|
|
|
2008-06-17 04:24:11 -05:00
|
|
|
|
2008-05-06 16:53:21 -05:00
|
|
|
Bugs fixed
|
|
|
|
----------
|
|
|
|
|
2008-06-15 12:09:23 -05:00
|
|
|
* Correctly report the source location for docstrings included with
|
|
|
|
autodoc.
|
|
|
|
|
2008-05-06 16:53:21 -05:00
|
|
|
* Fix the LaTeX output of description units with multiple signatures.
|
|
|
|
|
2008-05-16 08:36:49 -05:00
|
|
|
* Handle the figure directive in LaTeX output.
|
|
|
|
|
2008-05-30 15:07:43 -05:00
|
|
|
* Handle raw admonitions in LaTeX output.
|
|
|
|
|
2008-05-23 08:41:14 -05:00
|
|
|
* Fix determination of the title in HTML help output.
|
|
|
|
|
2008-05-23 08:47:34 -05:00
|
|
|
* Handle project names containing spaces.
|
|
|
|
|
2008-05-23 08:54:50 -05: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 09:11:53 -05:00
|
|
|
* Use a binary TOC in HTML help generation to fix issues links without
|
|
|
|
explicit anchors.
|
|
|
|
|
2008-05-24 11:18:54 -05:00
|
|
|
* Fix behavior of references to functions/methods with an explicit title.
|
|
|
|
|
2008-06-22 14:02:49 -05:00
|
|
|
* Support citation, subscript and superscript nodes in LaTeX writer.
|
2008-05-24 14:29:20 -05:00
|
|
|
|
|
|
|
* Provide the standard "class" directive as "cssclass"; else it is
|
|
|
|
shadowed by the Sphinx-defined directive.
|
2008-05-24 11:45:52 -05:00
|
|
|
|
2008-05-31 11:58:22 -05:00
|
|
|
* Fix the handling of explicit module names given to autoclass directives.
|
|
|
|
They now show up with the correct module name in the generated docs.
|
|
|
|
|
2008-06-05 12:06:34 -05:00
|
|
|
* Enable autodoc to process Unicode docstrings.
|
|
|
|
|
2008-06-17 04:26:50 -05:00
|
|
|
* The LaTeX writer now translates line blocks with ``\raggedright``,
|
|
|
|
which plays nicer with tables.
|
|
|
|
|
2008-06-22 13:09:21 -05:00
|
|
|
* Fix bug with directories in the HTML builder static path.
|
|
|
|
|
2008-05-06 09:25:29 -05:00
|
|
|
|
2008-05-06 02:23:08 -05:00
|
|
|
Release 0.3 (May 6, 2008)
|
|
|
|
=========================
|
2008-04-28 08:22:14 -05:00
|
|
|
|
|
|
|
New features added
|
|
|
|
------------------
|
|
|
|
|
2008-05-04 11:57:15 -05:00
|
|
|
* The ``toctree`` directive now supports a ``glob`` option that allows
|
|
|
|
glob-style entries in the content.
|
|
|
|
|
2008-05-02 04:00:09 -05: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 04:15:59 -05:00
|
|
|
* A new config value, `exclude_dirs`, can be used to exclude whole
|
|
|
|
directories from the search for source files.
|
|
|
|
|
2008-05-02 05:33:44 -05: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 13:14:13 -05: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 02:47:16 -05:00
|
|
|
Literal blocks can now be placed in tables, with several caveats.
|
2008-05-03 13:14:13 -05:00
|
|
|
|
|
|
|
* A new config value, `latex_use_parts`, can be used to enable parts in LaTeX
|
|
|
|
documents.
|
|
|
|
|
2008-05-04 04:37:37 -05: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 12:55:35 -05:00
|
|
|
* Support for C++ class names (in the style ``Class::Function``) in C function
|
|
|
|
descriptions.
|
|
|
|
|
2008-05-04 16:35:03 -05: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 04:00:09 -05:00
|
|
|
Bugs fixed
|
|
|
|
----------
|
|
|
|
|
|
|
|
* sphinx.htmlwriter: Correctly write the TOC file for any structure of the
|
2008-05-02 04:52:34 -05:00
|
|
|
master document. Also encode non-ASCII characters as entities in TOC
|
2008-05-04 02:07:48 -05:00
|
|
|
and index file. Remove two remaining instances of hard-coded
|
|
|
|
"documentation".
|
2008-04-28 08:22:14 -05:00
|
|
|
|
2008-05-04 11:57:15 -05:00
|
|
|
* sphinx.ext.autodoc: descriptors are detected properly now.
|
|
|
|
|
2008-05-06 02:21:46 -05:00
|
|
|
* sphinx.latexwriter: implement all reST admonitions, not just ``note``
|
|
|
|
and ``warning``.
|
|
|
|
|
2008-05-03 13:14:13 -05:00
|
|
|
* Lots of little fixes to the LaTeX output and style.
|
|
|
|
|
2008-05-03 15:15:25 -05:00
|
|
|
* Fix OpenSearch template and make template URL absolute. The
|
|
|
|
`html_use_opensearch` config value now must give the base URL.
|
|
|
|
|
2008-05-03 15:48:54 -05:00
|
|
|
* Some unused files are now stripped from the HTML help file build.
|
|
|
|
|
2008-04-28 08:22:14 -05:00
|
|
|
|
2008-04-27 15:08:05 -05:00
|
|
|
Release 0.2 (Apr 27, 2008)
|
|
|
|
==========================
|
2008-03-28 13:45:32 -05:00
|
|
|
|
2008-04-19 16:28:24 -05: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 10:48:24 -05:00
|
|
|
* In the layout template, redundant ``block``\s were removed; you should use
|
2008-04-27 14:43:45 -05:00
|
|
|
Jinja's standard ``{{ super() }}`` mechanism instead, as explained in the
|
|
|
|
(newly written) templating docs.
|
2008-04-27 10:48:24 -05:00
|
|
|
|
2008-04-13 13:16:55 -05:00
|
|
|
New features added
|
|
|
|
------------------
|
2008-03-28 13:45:32 -05:00
|
|
|
|
2008-04-13 13:16:55 -05:00
|
|
|
* Extension API (Application object):
|
2008-04-13 03:20:11 -05:00
|
|
|
|
2008-04-13 13:16:55 -05: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 12:57:14 -05:00
|
|
|
|
2008-04-13 13:16:55 -05:00
|
|
|
* Markup:
|
2008-04-12 16:10:33 -05:00
|
|
|
|
2008-04-13 13:16:55 -05: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 11:47:28 -05:00
|
|
|
|
2008-04-27 14:43:45 -05:00
|
|
|
* Templates (HTML output):
|
2008-04-19 16:28:24 -05: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 10:08:39 -05:00
|
|
|
- Templates now have an XHTML doctype, to be consistent with docutils'
|
|
|
|
HTML output.
|
2008-04-27 13:08:55 -05:00
|
|
|
- You can now create an OpenSearch description file with the
|
|
|
|
``html_use_opensearch`` config value.
|
2008-04-27 14:43:45 -05: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 16:28:24 -05:00
|
|
|
|
2008-04-27 14:43:45 -05: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 01:36:20 -05:00
|
|
|
|
2008-04-13 13:16:55 -05:00
|
|
|
Bugs fixed
|
|
|
|
----------
|
2008-04-07 00:19:26 -05:00
|
|
|
|
2008-04-13 13:16:55 -05:00
|
|
|
* sphinx.ext.autodoc: Don't check ``__module__`` for explicitly given
|
|
|
|
members. Remove "self" in class constructor argument list.
|
2008-04-12 16:23:35 -05:00
|
|
|
|
2008-04-13 13:16:55 -05:00
|
|
|
* sphinx.htmlwriter: Don't use os.path for joining image HREFs.
|
2008-04-07 00:19:26 -05:00
|
|
|
|
2008-04-27 14:53:27 -05:00
|
|
|
* sphinx.htmlwriter: Don't use SmartyPants for HTML attribute values.
|
|
|
|
|
2008-04-27 11:21:04 -05: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 09:58:50 -05:00
|
|
|
|
2008-04-13 13:16:55 -05:00
|
|
|
* sphinx.roles: Fix referencing glossary terms with explicit targets.
|
2008-04-06 11:47:28 -05:00
|
|
|
|
2008-04-13 13:16:55 -05:00
|
|
|
* sphinx.environment: Don't swallow TOC entries when resolving subtrees.
|
2008-04-06 12:38:55 -05:00
|
|
|
|
2008-04-21 11:14:16 -05:00
|
|
|
* sphinx.quickstart: Create a sensible default latex_documents setting.
|
|
|
|
|
2008-04-13 13:16:55 -05:00
|
|
|
* sphinx.builder, sphinx.environment: Gracefully handle some user error
|
|
|
|
cases.
|
2008-04-06 14:05:13 -05:00
|
|
|
|
2008-04-27 10:48:24 -05:00
|
|
|
* sphinx.util: Follow symbolic links when searching for documents.
|
|
|
|
|
2008-03-28 13:45:32 -05:00
|
|
|
|
2008-03-26 10:34:47 -05:00
|
|
|
Release 0.1.61950 (Mar 26, 2008)
|
|
|
|
================================
|
|
|
|
|
|
|
|
* sphinx.quickstart: Fix format string for Makefile.
|
|
|
|
|
|
|
|
|
2008-03-26 08:13:42 -05:00
|
|
|
Release 0.1.61945 (Mar 26, 2008)
|
|
|
|
================================
|
2008-03-25 05:16:51 -05:00
|
|
|
|
2008-03-25 07:32:03 -05:00
|
|
|
* sphinx.htmlwriter, sphinx.latexwriter: Support the ``.. image::``
|
|
|
|
directive by copying image files to the output directory.
|
|
|
|
|
2008-03-25 13:32:23 -05:00
|
|
|
* sphinx.builder: Consistently name "special" HTML output directories
|
|
|
|
with a leading underscore; this means ``_sources`` and ``_static``.
|
|
|
|
|
2008-03-25 05:16:51 -05:00
|
|
|
* sphinx.environment: Take dependent files into account when collecting
|
|
|
|
the set of outdated sources.
|
|
|
|
|
2008-03-25 05:31:13 -05: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 10:22:25 -05:00
|
|
|
* sphinx.builder: Rebuild all HTML files in case of a template change.
|
|
|
|
|
2008-03-25 05:36:39 -05:00
|
|
|
* sphinx.builder: Handle unavailability of TOC relations (previous/
|
|
|
|
next chapter) more gracefully in the HTML builder.
|
|
|
|
|
2008-03-25 15:49:51 -05: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 07:16:59 -05:00
|
|
|
latex Makefile. Really pass the correct paper and size options
|
|
|
|
to the LaTeX document class.
|
2008-03-25 15:49:51 -05:00
|
|
|
|
2008-03-25 06:01:28 -05: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 05:16:51 -05:00
|
|
|
|
2008-03-24 04:43:00 -05:00
|
|
|
Release 0.1.61843 (Mar 24, 2008)
|
|
|
|
================================
|
2008-03-23 12:33:50 -05:00
|
|
|
|
|
|
|
* sphinx.quickstart: Really don't create a makefile if the user
|
|
|
|
doesn't want one.
|
|
|
|
|
2008-03-23 13:26:24 -05: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 16:30:58 -05:00
|
|
|
files (under ``_sources``) as input files if the source suffix is
|
2008-03-23 13:26:24 -05:00
|
|
|
``.txt``.
|
|
|
|
|
2008-03-23 14:33:12 -05:00
|
|
|
* sphinx.highlighting: Generate correct markup for LaTeX Verbatim
|
|
|
|
environment escapes even if Pygments is not installed.
|
|
|
|
|
2008-03-23 14:40:17 -05:00
|
|
|
* sphinx.builder: The WebHTMLBuilder is now called PickleHTMLBuilder.
|
|
|
|
|
2008-03-23 16:11:33 -05:00
|
|
|
* sphinx.htmlwriter: Make parsed-literal blocks work as expected,
|
|
|
|
not highlighting them via Pygments.
|
|
|
|
|
2008-03-24 04:42:28 -05:00
|
|
|
* sphinx.environment: Don't error out on reading an empty source file.
|
|
|
|
|
2008-03-23 13:26:24 -05:00
|
|
|
|
2008-03-23 10:07:15 -05:00
|
|
|
Release 0.1.61798 (Mar 23, 2008)
|
|
|
|
================================
|
|
|
|
|
|
|
|
* sphinx: Work with docutils SVN snapshots as well as 0.4.
|
2008-03-22 15:44:56 -05:00
|
|
|
|
|
|
|
* sphinx.ext.doctest: Make the group in which doctest blocks are
|
|
|
|
placed selectable, and default to ``'default'``.
|
|
|
|
|
2008-03-23 16:30:58 -05:00
|
|
|
* sphinx.ext.doctest: Replace ``<BLANKLINE>`` in doctest blocks by
|
2008-03-22 16:21:28 -05:00
|
|
|
real blank lines for presentation output, and remove doctest
|
|
|
|
options given inline.
|
2008-03-22 16:10:35 -05:00
|
|
|
|
|
|
|
* sphinx.environment: Move doctest_blocks out of block_quotes to
|
|
|
|
support indented doctest blocks.
|
|
|
|
|
2008-03-23 16:30:58 -05:00
|
|
|
* sphinx.ext.autodoc: Render ``.. automodule::`` docstrings in a
|
|
|
|
section node, so that module docstrings can contain proper
|
|
|
|
sectioning.
|
2008-03-23 03:28:14 -05:00
|
|
|
|
2008-03-23 06:32:33 -05:00
|
|
|
* sphinx.ext.autodoc: Use the module's encoding for decoding
|
|
|
|
docstrings, rather than requiring ASCII.
|
|
|
|
|
2008-03-22 15:44:56 -05:00
|
|
|
|
2008-03-23 01:37:04 -05:00
|
|
|
Release 0.1.61611 (Mar 21, 2008)
|
|
|
|
================================
|
2008-03-22 15:44:56 -05:00
|
|
|
|
2008-03-25 15:49:51 -05:00
|
|
|
* First public release.
|