From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 31 Aug 2024 06:38:11 +0000 (+0200) Subject: [3.12] gh-123407: Enable translating literal and code blocks (GH-123408) (#123531) X-Git-Tag: v3.12.6~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b3fcc04e30971ef4a8002003454cae3de910435;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-123407: Enable translating literal and code blocks (GH-123408) (#123531) gh-123407: Enable translating literal and code blocks (GH-123408) (cherry picked from commit 5332d989af45378e6ae99aeda72bfa82042b8659) Co-authored-by: Maciej Olko --- diff --git a/Doc/conf.py b/Doc/conf.py index 75c65fa2dfc4..319cdf607902 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -294,6 +294,7 @@ root_doc = 'contents' # Allow translation of index directives gettext_additional_targets = [ 'index', + 'literal-block', ] # Options for HTML output