]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-123407: Enable translating literal and code blocks (GH-123408) (#123530)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 31 Aug 2024 06:49:08 +0000 (08:49 +0200)
committerGitHub <noreply@github.com>
Sat, 31 Aug 2024 06:49:08 +0000 (06:49 +0000)
gh-123407: Enable translating literal and code blocks (GH-123408)
(cherry picked from commit 5332d989af45378e6ae99aeda72bfa82042b8659)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
Doc/conf.py

index 3860d146a27e85769c3e94774e541d47375781b7..915e9317fa4babad17988f36beb05ec83a83acce 100644 (file)
@@ -310,6 +310,7 @@ root_doc = 'contents'
 # Allow translation of index directives
 gettext_additional_targets = [
     'index',
+    'literal-block',
 ]
 
 # Options for HTML output