Fix possibly-invalid HTML when a rubric node is manually created

This commit is contained in:
Adam Turner committed 2024-07-15 10:04:48 +01:00
1 parent ffd7b786d5
commit 18ac58bd53
7 files changed
+46 -25

No files matched your search

+2 -2
View File
@@ -544,10 +544,10 @@ Presentational
A rubric is like an informal heading that doesn't correspond to the document's structure,
i.e. it does not create a table of contents node.
.. rst:directive:option:: level: n
.. rst:directive:option:: heading-level: n
:type: number from 1 to 6
.. versionadded:: 7.4
.. versionadded:: 7.4.1
Use this option to specify the heading level of the rubric.
In this case the rubric will be rendered as ``<h1>`` to ``<h6>`` for HTML output,