### Describe the bug The docstring of [sphinx.util.parsing](https://github.com/sphinx-doc/sphinx/blob/master/sphinx/util/parsing.py).nested_parse_to_nodes() says: > ... In Docutils, section nodes should only be children of ``Structural`` nodes, which includes ``document``, ``section``, and ``sidebar`` nodes. However, "section" elements can only by children of "document" or "section" elements, **not** "sidebar". ### How to Reproduce See [<section>](https://docutils.sourceforge.io/docs/ref/doctree.html#section) in "The Docutils Document Tree" and the Docutils Generic XML document type definition (DTD) [docutils.dtd](https://docutils.sourceforge.io/docs/ref/docutils.dtd). ### Environment Information ```text Checked with repository versions of Docutils and Sphinx. ``` ### Sphinx extensions ```python ``` ### Additional context _No response_