milde 570615a844 rST parser: restore backwards compatibility of nested parsing.
* Keep document-wide title style hierarchy in nested parsing.

* Revert to using `document.memo.section_level` (required for nested parsing
  into a detached base node with document-wide title styles).

+ simpler logic
+ backwards compatible
- more bookkeeping effort
- mandating a document-wide section title style hierarchy is ill-suited for
  inclusion of rST blocks from external sources (e.g. extracted docstrings).
  See `sphinx.util.parsing.nested_parse_to_nodes()` for an alternative.

This should restore compatibility with Sphinx's "only" directive broken by [r10204].

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@10226 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
2025-09-05 09:10:58 +00:00
2025-08-20 08:32:28 +00:00
2025-07-30 08:22:43 +00:00
2023-03-31 21:26:14 +00:00
Description
mirror of docutils git mirror repository. also see here
37 MiB
Languages
Python 52.4%
XSLT 14.1%
HTML 13.7%
reStructuredText 7.5%
TeX 3.7%
Other 8.5%