]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-123407: Enable translating literal and code blocks (GH-123408) (#123531)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 31 Aug 2024 06:38:11 +0000 (08:38 +0200)
committerGitHub <noreply@github.com>
Sat, 31 Aug 2024 06:38:11 +0000 (06:38 +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 75c65fa2dfc4f50f92337597b6bbb0cd9f6568c5..319cdf6079027ce53a541e022e40ce803317e05e 100644 (file)
@@ -294,6 +294,7 @@ root_doc = 'contents'
 # Allow translation of index directives
 gettext_additional_targets = [
     'index',
+    'literal-block',
 ]
 
 # Options for HTML output