-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Description
Describe the bug
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.
How to Reproduce
-
Add
doctest-block
togettext_additional_targets
inconf.py
(gh-123407: Allow translation of doctest blocks content python/cpython#123852). -
Run
% make gettext
. -
-> lack of expected doctest blocks in POTs, example one: https://github.com/python/cpython/blob/be90648fb2de58b148dcc7553a08ca646911baf2/Doc/tutorial/introduction.rst?plain=1#L150-L155
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.