Skip to content

gh-123407: Allow translation of doctest blocks content#123852

Closed
m-aciek wants to merge 1 commit intopython:mainfrom
m-aciek:docs-translate-doctest-blocks
Closed

gh-123407: Allow translation of doctest blocks content#123852
m-aciek wants to merge 1 commit intopython:mainfrom
m-aciek:docs-translate-doctest-blocks

Conversation

@m-aciek
Copy link
Copy Markdown
Contributor

@m-aciek m-aciek commented Sep 8, 2024

Refs #123407. Doctest blocks are the second type of blocks present in Python documentation, that need a separate configuration value. Example:

>>> 'spam eggs' # single quotes
'spam eggs'
>>> "Paris rabbit got your back :)! Yay!" # double quotes
'Paris rabbit got your back :)! Yay!'
>>> '1975' # digits and numerals enclosed in quotes are also strings
'1975'

Disclaimer: changing the Sphinx config doesn't seem to make expected difference.


📚 Documentation preview 📚: https://cpython-previews--123852.org.readthedocs.build/

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 18, 2026
@m-aciek m-aciek closed this Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants