|
From: engelbert g. <eng...@gm...> - 2026-05-09 10:29:59
|
Hello dear everyone,
thanks to Günter a lot was done
please tryout the rc1 and report any problems
Changes in 0.23rc1
General:
- Define `public API and backwards compatibility policy`_.
rST parser:
- Problems with the "include" directive are reported as ERROR, not SEVERE.
- The "include" directive options :start-after: and :end-before: may now
also be used without value (standing for an empty line).
- The highlight language of a custom role based on the `"code" role`_
defaults to the role's name (if supported by Pygments_).
Specifying ``:language: none`` turns off syntax highlight.
HTML5 writer:
- If a section has several IDs, use the last one (from the first
`explicit target`__) as self-link_.
__ docs/ref/rst/restructuredtext.html#explicit-hyperlink-targets
LaTeX writer:
- Do not write ``\label`` commands for section titles and other
implicit targets if there is no matching reference in the document.
- Support `semantic inline markup roles`_.
Configuration changes
- New setting `legacy_ids`_.
- The new setting `latex_footnotes`_ replaces "docutils_footnotes"
(ignored since Docutils 0.13.1). The command line option
``--docutils-footnotes`` is kept and sets latex_footnotes_ to False.
New objects
`nodes.document.names`:
Internal attribute mapping `reference names`_ to the
referenced elements (or ``None`` if the name is a duplicate).
`nodes.document.note_names()`:
Register an element's names, check for duplicates.
`nodes.document.set_duplicate_name()`
Called by `nodes.document.note_names()` to handle duplicate names.
Provisional.
`transforms.SectionIDs`:
Ensure all sections have an identifier_.
Removed objects
`parsers.rst.directives.tables.CSVTable.check_requirements()`
not required with Python 3.
`nodes.document.set_duplicate_name_id()`
internal method, replaced by `nodes.document.set_duplicate_name()`.
|