Open m-aciek opened 2 months ago
Hi, running a gettext builder on a documents with doctest-block in gettext_additional_targets doesn't add the content of doctest blocks in generated POTs.
doctest-block
gettext_additional_targets
Add doctest-block to gettext_additional_targets in conf.py (https://github.com/python/cpython/pull/123852).
conf.py
Run % make gettext.
% make gettext
-> lack of expected doctest blocks in POTs
Sphinx version: v7.3.7
v7.3.7
From a quick look I'm not able to figure out the cause in the Sphinx codebase.
Describe the bug
Hi, running a gettext builder on a documents with
doctest-block
ingettext_additional_targets
doesn't add the content of doctest blocks in generated POTs.How to Reproduce
Add
doctest-block
togettext_additional_targets
inconf.py
(https://github.com/python/cpython/pull/123852).Run
% make gettext
.-> lack of expected doctest blocks in POTs
Environment Information
Sphinx version:
v7.3.7
Additional context
From a quick look I'm not able to figure out the cause in the Sphinx codebase.