Describe the bug
The content model for Docutils <figure> elements mandates an <image> followed by either a <caption>, a <legend> or both.
Starting in Docutils 1.0, the rST parser issues a warning, if a figure directive is missing both caption and legend.
This leads to test failures for "Docutils HEAD" and "LaTeX".
Unfortunately, I cannot find where tests/test_intl/test_intl.py::test_text_figure_captions calls the rST parser or why it triggers a "no caption" warnign when it tests "text_figure_captions", so I cannot provide a patch.
How to Reproduce
see, e.g., #14400 , #14507 #14499
Environment Information
CI tests with the Docutils repository HEAD.
Sphinx extensions
Additional context
No response
Describe the bug
The content model for Docutils
<figure>elements mandates an<image>followed by either a<caption>, a<legend>or both.Starting in Docutils 1.0, the rST parser issues a warning, if a figure directive is missing both caption and legend.
This leads to test failures for "Docutils HEAD" and "LaTeX".
Unfortunately, I cannot find where tests/test_intl/test_intl.py::test_text_figure_captions calls the rST parser or why it triggers a "no caption" warnign when it tests "text_figure_captions", so I cannot provide a patch.
How to Reproduce
see, e.g., #14400 , #14507 #14499
Environment Information
Sphinx extensions
Additional context
No response