tests.sphinx.test_sphinx_doctrees module¶

Tests for the document each node of a pickled page belongs to.

tests.sphinx.test_sphinx_doctrees.test_pickled_nodes_belong_to_their_page(sphinx_app_myst, block)[source]¶

Every node of a pickled page belongs to the page’s document.

Each block parses a list in a document of its own, then moves it into the page. docutils points the list at the page, and leaves each item below it pointing at the document it was parsed in.