Repository navigation
Fix links to filtered Docutils system messages - #14725
Michael-WhiteCapData wants to merge 1 commit into
Conversation
|
CI follow-up: the standard Python jobs and static checks pass. The Docutils HEAD job reports HTML parsing failures; I reproduced the same The Python 3.13t and 3.14t jobs fail in the unchanged Additional baseline verification: on unchanged upstream b04a210, Python 3.14.7 on Windows with development Docutils reproduces four representative failures: test_footnote_referred_multiple_times (LaTeX), test_texinfo, test_lineblock, and test_highlight_language_default (doctest). With Docutils 0.22.3, the same selection gives 3 passed and 1 skipped (Texinfo requires an unavailable external tool). This extends the baseline evidence without claiming that every hosted LaTeX failure has been reproduced. |
Remove problematic markup links when their system message is filtered, preserving the displayed text and unregistering removed message IDs. Include detached Docutils messages when warnings are retained, with section IDs for Sphinx's HTML writer.
Fixes #13698.
Regression tests exercise unmatched emphasis and an unknown reference with
keep_warningsboth enabled and disabled. All 122 markup and HTML builder tests pass, along with targeted mypy, Ruff checks, formatting, and the 20 JavaScript browser specs run by the push hook.