Add changelog entry and docs for #594.

This commit is contained in:
Georg Brandl
2011-01-09 21:43:22 +01:00
parent ca6a5b53c9
commit 6e2324ab2c
3 changed files with 10 additions and 4 deletions

View File

@@ -95,6 +95,9 @@ Release 1.1 (in development)
* Section headings in :rst:dir:`only` directives are now correctly
handled.
* #594: :confval:`trim_doctest_flags` now also removes ``<BLANKLINE>``
indicators.
* C++ domain now supports array definitions.

View File

@@ -334,11 +334,14 @@ Project information
.. confval:: trim_doctest_flags
If true, doctest flags (comments looking like ``# doctest: FLAG, ...``) at
the ends of lines are removed for all code blocks showing interactive Python
sessions (i.e. doctests). Default is true. See the extension
:mod:`~sphinx.ext.doctest` for more possibilities of including doctests.
the ends of lines and ``<BLANKLINE>`` markers are removed for all code
blocks showing interactive Python sessions (i.e. doctests). Default is
true. See the extension :mod:`~sphinx.ext.doctest` for more possibilities
of including doctests.
.. versionadded:: 1.0
.. versionchanged:: 1.1
Now also removes ``<BLANKLINE>``.
.. _intl-options:

View File

@@ -237,4 +237,4 @@ There are also these config values for customizing the doctest extension:
will be interpreted as one block ending and another one starting. Also,
removal of ``<BLANKLINE>`` and ``# doctest:`` options only works in
:rst:dir:`doctest` blocks, though you may set :confval:`trim_doctest_flags` to
achieve the latter in all code blocks with Python console content.
achieve that in all code blocks with Python console content.