mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Restructure list of changes for 1.0 into categories.
This commit is contained in:
parent
f6c74a1319
commit
6bffed3d3a
203
CHANGES
203
CHANGES
@ -1,147 +1,136 @@
|
|||||||
Release 1.0 (in development)
|
Release 1.0 (in development)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
Incompatible changes
|
||||||
|
--------------------
|
||||||
|
|
||||||
* Support for domains has been added. A domain is a collection of
|
* Support for domains has been added. A domain is a collection of
|
||||||
directives and roles that all describe objects belonging together,
|
directives and roles that all describe objects belonging together,
|
||||||
e.g. elements of a programming language. Builtin domains are
|
e.g. elements of a programming language. A few builtin domains are
|
||||||
provided for Python and C objects.
|
provided:
|
||||||
|
|
||||||
* Added a JavaScript domain.
|
- Python
|
||||||
|
- C
|
||||||
|
- C++
|
||||||
|
- JavaScript
|
||||||
|
- reStructuredText
|
||||||
|
|
||||||
* Added a reStructuredText domain.
|
* The old markup for defining and linking to C directives will not work
|
||||||
|
anymore without activating the ``oldcmarkup`` extension.
|
||||||
|
|
||||||
* Added a way for intersphinx to refer to named labels in other
|
* Removed support for old dependency versions; requirements are now:
|
||||||
projects, and to specify the project you want to link to.
|
|
||||||
|
|
||||||
* Support for docutils 0.4 has been removed.
|
- docutils >= 0.5
|
||||||
|
- Jinja2 >= 2.2
|
||||||
|
|
||||||
* Added Croatian translation, thanks to Bojan Mihelač.
|
* Removed deprecated elements:
|
||||||
|
|
||||||
* Added a manual page builder.
|
- ``exclude_dirs`` config value
|
||||||
|
- ``sphinx.builder`` module
|
||||||
|
|
||||||
* Added support for source ordering of members in autodoc, with
|
Features added
|
||||||
``autodoc_member_order = 'bysource'``.
|
--------------
|
||||||
|
|
||||||
* In HTML output, inline roles now get a CSS class with their name,
|
* General:
|
||||||
allowing styles to customize their appearance. Domain-specific
|
|
||||||
roles get two classes, ``domain`` and ``domain-rolename``.
|
|
||||||
|
|
||||||
* In HTML output, references now get the class ``internal`` if they
|
- Added a "nitpicky" mode that emits warnings for all missing
|
||||||
are internal to the whole project, as opposed to internal to the
|
references. It is activated by the ``-n`` command-line switch or
|
||||||
current page.
|
the ``nitpicky`` config value.
|
||||||
|
- Added ``latexpdf`` target in quickstart Makefile.
|
||||||
|
|
||||||
* The ``menuselection`` and ``guilabel`` roles now support ampersand
|
* Markup:
|
||||||
|
|
||||||
|
- The ``menuselection`` and ``guilabel`` roles now support ampersand
|
||||||
accelerators.
|
accelerators.
|
||||||
|
- New more compact doc field syntax is now recognized: ``:param type
|
||||||
|
name: description``.
|
||||||
|
- Added ``tab-width`` option to ``literalinclude`` directive.
|
||||||
|
- Added ``titlesonly`` option to ``toctree`` directive.
|
||||||
|
- Added the ``prepend`` and ``append`` options to the
|
||||||
|
``literalinclude`` directive.
|
||||||
|
- #284: All docinfo metadata is now put into the document metadata, not
|
||||||
|
just the author.
|
||||||
|
|
||||||
* New more compact doc field syntax is now recognized:
|
* Configuration:
|
||||||
``:param type name: description``.
|
|
||||||
|
|
||||||
* Added a "nitpicky" mode that emits warnings for all missing
|
- Added ``rst_prolog`` config value.
|
||||||
references. It is activated by the ``-n`` command-line switch
|
- Added ``html_secnumber_suffix`` config value to control section
|
||||||
or the ``nitpicky`` config value.
|
|
||||||
|
|
||||||
* Added the ``viewcode`` extension.
|
|
||||||
|
|
||||||
* Added ``html-collect-pages`` event.
|
|
||||||
|
|
||||||
* Sphinx now requires Jinja2 version 2.2 or greater.
|
|
||||||
|
|
||||||
* Added Turkish translation, thanks to Firat Ozgul.
|
|
||||||
|
|
||||||
* Added ``needs_sphinx`` config value and ``Sphinx.require_sphinx``
|
|
||||||
application API function.
|
|
||||||
|
|
||||||
* Added single-file HTML builder.
|
|
||||||
|
|
||||||
* Added ``autodoc_default_flags`` config value, which can be used
|
|
||||||
to select default flags for all autodoc directives.
|
|
||||||
|
|
||||||
* Added ``tab-width`` option to ``literalinclude`` directive.
|
|
||||||
|
|
||||||
* Added ``rst_prolog`` config value.
|
|
||||||
|
|
||||||
* Added ``html_secnumber_suffix`` config value to control section
|
|
||||||
numbering format.
|
numbering format.
|
||||||
|
- Added ``html_compact_lists`` config value to control docutils'
|
||||||
* Added ``html_compact_lists`` config value to control docutils'
|
|
||||||
compact lists feature.
|
compact lists feature.
|
||||||
|
- The ``html_sidebars`` config value can now contain patterns as
|
||||||
* The ``html_sidebars`` config value can now contain patterns as
|
|
||||||
keys, and the values can be lists that explicitly select which
|
keys, and the values can be lists that explicitly select which
|
||||||
sidebar templates should be rendered. That means that the builtin
|
sidebar templates should be rendered. That means that the builtin
|
||||||
sidebar contents can be included only selectively.
|
sidebar contents can be included only selectively.
|
||||||
|
- ``html_static_path`` can now contain single file entries.
|
||||||
* ``html_static_path`` can now contain single file entries.
|
- The new universal config value ``exclude_patterns`` makes the
|
||||||
|
|
||||||
* The new universal config value ``exclude_patterns`` makes the
|
|
||||||
old ``unused_docs``, ``exclude_trees`` and ``exclude_dirnames``
|
old ``unused_docs``, ``exclude_trees`` and ``exclude_dirnames``
|
||||||
obsolete.
|
obsolete.
|
||||||
|
- Added ``html_output_encoding`` config value.
|
||||||
|
- Added the ``latex_docclass`` config value and made the "twoside"
|
||||||
|
documentclass option overridable by "oneside".
|
||||||
|
- Added the ``trim_doctest_flags`` config value, which is true by
|
||||||
|
default.
|
||||||
|
- Added ``html_show_copyright`` config value.
|
||||||
|
|
||||||
* Remove the deprecated ``exclude_dirs`` config value.
|
* New builders:
|
||||||
|
|
||||||
* #129: Wrap toctrees in a div tag with class ``toctree-wrapper``
|
- Added a builder for the Epub format.
|
||||||
in HTML output.
|
- Added a builder for manual pages.
|
||||||
|
- Added a single-file HTML builder.
|
||||||
|
|
||||||
* #280: Autodoc can now document instance attributes assigned in
|
* HTML output:
|
||||||
``__init__`` methods.
|
|
||||||
|
|
||||||
* Added ``alt`` option to ``graphviz`` extension directives.
|
- Inline roles now get a CSS class with their name, allowing styles to
|
||||||
|
customize their appearance. Domain-specific roles get two classes,
|
||||||
* Added Epub builder.
|
``domain`` and ``domain-rolename``.
|
||||||
|
- References now get the class ``internal`` if they are internal to
|
||||||
* #309: The ``graphviz`` extension can now output SVG instead of PNG
|
the whole project, as opposed to internal to the current page.
|
||||||
images, controlled by the ``graphviz_output_format`` config value.
|
- #129: Toctrees are now wrapped in a ``div`` tag with class
|
||||||
|
``toctree-wrapper`` in HTML output.
|
||||||
* #284: All docinfo metadata is now put into the document metadata, not
|
- The ``toctree()`` callable in templates now has a ``maxdepth``
|
||||||
just the author.
|
|
||||||
|
|
||||||
* Added new HTML theme ``haiku``, inspired by the Haiku OS user guide.
|
|
||||||
|
|
||||||
* Added new HTML theme ``nature``.
|
|
||||||
|
|
||||||
* Added new HTML theme ``agogo``, created by Andi Albrecht.
|
|
||||||
|
|
||||||
* Added new HTML theme ``scrolls``, created by Armin Ronacher.
|
|
||||||
|
|
||||||
* The ``toctree()`` callable in templates now has a ``maxdepth``
|
|
||||||
keyword argument to control the depth of the generated tree.
|
keyword argument to control the depth of the generated tree.
|
||||||
|
- Added ``htmltitle`` block in layout template.
|
||||||
* Added Catalan translation, thanks to Pau Fernández.
|
- In the JavaScript search, allow searching for object names including
|
||||||
|
the module name, like ``sys.argv``.
|
||||||
* Added ``html_output_encoding`` config value.
|
- Added new theme ``haiku``, inspired by the Haiku OS user guide.
|
||||||
|
- Added new theme ``nature``.
|
||||||
* #200: Added ``Sphinx.add_stylesheet()``.
|
- Added new theme ``agogo``, created by Andi Albrecht.
|
||||||
|
- Added new theme ``scrolls``, created by Armin Ronacher.
|
||||||
* Added ``titlesonly`` option to ``toctree`` directive.
|
- #193: Added a ``visitedlinkcolor`` theme option to the default
|
||||||
|
|
||||||
* Removed the deprecated ``sphinx.builder`` module.
|
|
||||||
|
|
||||||
* #193: Added a ``visitedlinkcolor`` theme option to the default
|
|
||||||
theme.
|
theme.
|
||||||
|
|
||||||
* Added the ``prepend`` and ``append`` options to the
|
* Extension API:
|
||||||
``literalinclude`` directive.
|
|
||||||
|
|
||||||
* Added the ``latex_docclass`` config value and made the "twoside"
|
- Added ``html-collect-pages`` event.
|
||||||
documentclass option overridable by "oneside".
|
- Added ``needs_sphinx`` config value and ``Sphinx.require_sphinx``
|
||||||
|
application API function.
|
||||||
|
- #200: Added ``Sphinx.add_stylesheet()``.
|
||||||
|
|
||||||
* Added the ``trim_doctest_flags`` config value, which is true by default.
|
* Extensions:
|
||||||
|
|
||||||
* Added the ``extlinks`` extension.
|
- Added the ``viewcode`` extension.
|
||||||
|
- Added the ``extlinks`` extension.
|
||||||
|
- Added support for source ordering of members in autodoc, with
|
||||||
|
``autodoc_member_order = 'bysource'``.
|
||||||
|
- Added ``autodoc_default_flags`` config value, which can be used to
|
||||||
|
select default flags for all autodoc directives.
|
||||||
|
- Added a way for intersphinx to refer to named labels in other
|
||||||
|
projects, and to specify the project you want to link to.
|
||||||
|
- #280: Autodoc can now document instance attributes assigned in
|
||||||
|
``__init__`` methods.
|
||||||
|
- Many improvements and fixes to the ``autosummary`` extension, thanks
|
||||||
|
to Pauli Virtanen.
|
||||||
|
- #309: The ``graphviz`` extension can now output SVG instead of PNG
|
||||||
|
images, controlled by the ``graphviz_output_format`` config value.
|
||||||
|
- Added ``alt`` option to ``graphviz`` extension directives.
|
||||||
|
|
||||||
* Allow searching for object names including the module name, like
|
* Translations:
|
||||||
``sys.argv``.
|
|
||||||
|
|
||||||
* Many improvements and fixes to the ``autosummary`` extension,
|
- Added Croatian translation, thanks to Bojan Mihelač.
|
||||||
thanks to Pauli Virtanen.
|
- Added Turkish translation, thanks to Firat Ozgul.
|
||||||
|
- Added Catalan translation, thanks to Pau Fernández.
|
||||||
* Added ``html_show_copyright`` config value.
|
- Added simplified Chinese translation.
|
||||||
|
|
||||||
* Added simplified Chinese locale.
|
|
||||||
|
|
||||||
* Added ``latexpdf`` target in quickstart Makefile.
|
|
||||||
|
|
||||||
* Added ``htmltitle`` block in layout template.
|
|
||||||
|
|
||||||
|
|
||||||
Release 0.6.6 (in development)
|
Release 0.6.6 (in development)
|
||||||
|
Loading…
Reference in New Issue
Block a user