Add internationalization support in Sphinx configuration
This commit is contained in:
@@ -19,6 +19,12 @@ extensions = [
|
||||
'sphinx.ext.napoleon',
|
||||
]
|
||||
|
||||
# -- Internationalization ---------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#internationalization
|
||||
|
||||
locale_dirs = ['../locales/']
|
||||
gettext_compact = False
|
||||
|
||||
templates_path = ['_templates']
|
||||
exclude_patterns = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user