Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gettext builder not extracting content of doctest blocks #12871

Open
m-aciek opened this issue Sep 8, 2024 · 0 comments
Open

Gettext builder not extracting content of doctest blocks #12871

m-aciek opened this issue Sep 8, 2024 · 0 comments

Comments

@m-aciek
Copy link
Contributor

m-aciek commented Sep 8, 2024

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

  1. Add doctest-block to gettext_additional_targets in conf.py
    (gh-123407: Allow translation of doctest blocks content python/cpython#123852).

  2. Run % make gettext.

  3. -> 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants