mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-11-03 12:48:34 -06:00
Fix possibly-invalid HTML when a rubric node is manually created
This commit is contained in:
1 parent
ffd7b786d5
commit
18ac58bd53
7 files changed
+46
-25
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user