mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add changelog entry and docs for #594.
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -95,6 +95,9 @@ Release 1.1 (in development)
|
|||||||
* Section headings in :rst:dir:`only` directives are now correctly
|
* Section headings in :rst:dir:`only` directives are now correctly
|
||||||
handled.
|
handled.
|
||||||
|
|
||||||
|
* #594: :confval:`trim_doctest_flags` now also removes ``<BLANKLINE>``
|
||||||
|
indicators.
|
||||||
|
|
||||||
* C++ domain now supports array definitions.
|
* C++ domain now supports array definitions.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -334,11 +334,14 @@ Project information
|
|||||||
.. confval:: trim_doctest_flags
|
.. confval:: trim_doctest_flags
|
||||||
|
|
||||||
If true, doctest flags (comments looking like ``# doctest: FLAG, ...``) at
|
If true, doctest flags (comments looking like ``# doctest: FLAG, ...``) at
|
||||||
the ends of lines are removed for all code blocks showing interactive Python
|
the ends of lines and ``<BLANKLINE>`` markers are removed for all code
|
||||||
sessions (i.e. doctests). Default is true. See the extension
|
blocks showing interactive Python sessions (i.e. doctests). Default is
|
||||||
:mod:`~sphinx.ext.doctest` for more possibilities of including doctests.
|
true. See the extension :mod:`~sphinx.ext.doctest` for more possibilities
|
||||||
|
of including doctests.
|
||||||
|
|
||||||
.. versionadded:: 1.0
|
.. versionadded:: 1.0
|
||||||
|
.. versionchanged:: 1.1
|
||||||
|
Now also removes ``<BLANKLINE>``.
|
||||||
|
|
||||||
|
|
||||||
.. _intl-options:
|
.. _intl-options:
|
||||||
|
|||||||
@@ -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,
|
will be interpreted as one block ending and another one starting. Also,
|
||||||
removal of ``<BLANKLINE>`` and ``# doctest:`` options only works in
|
removal of ``<BLANKLINE>`` and ``# doctest:`` options only works in
|
||||||
:rst:dir:`doctest` blocks, though you may set :confval:`trim_doctest_flags` to
|
: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.
|
||||||
|
|||||||
Reference in New Issue
Block a user