mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
add 'locale_dirs' and 'gettext_compact' to conf.py for translation setup easier
This commit is contained in:
parent
41971a6617
commit
649a75c427
@ -83,6 +83,10 @@ texinfo_documents = [
|
|||||||
# the mapping:
|
# the mapping:
|
||||||
intersphinx_mapping = {'python': ('http://docs.python.org/dev', None)}
|
intersphinx_mapping = {'python': ('http://docs.python.org/dev', None)}
|
||||||
|
|
||||||
|
# Sphinx document translation with sphinx gettext feature uses these settings:
|
||||||
|
locale_dirs = ['locale/']
|
||||||
|
gettext_compact = False
|
||||||
|
|
||||||
|
|
||||||
# -- Extension interface -------------------------------------------------------
|
# -- Extension interface -------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user