GH-97950: Allow translation of index directive content (#104000)

This commit is contained in:
Adam Turner 2023-05-04 08:11:09 +01:00 committed by GitHub
parent 9885677b04
commit 35d273825a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -91,6 +91,11 @@ smartquotes_excludes = {
# Avoid a warning with Sphinx >= 2.0
master_doc = 'contents'
# Allow translation of index directives
gettext_additional_targets = [
'index',
]
# Options for HTML output
# -----------------------