mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Add some i18n parameters
New mo and po files are created under ./locale/ dir Compact text false by default
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,6 +6,7 @@ __pycache__
|
||||
*~
|
||||
.directory
|
||||
.vscode/
|
||||
*.mo
|
||||
|
||||
# Finder (MacOS) makes these automatically.
|
||||
.DS_Store
|
||||
|
||||
7
conf.py
7
conf.py
@@ -94,3 +94,10 @@ latex_documents = [
|
||||
(master_doc, 'GodotEngine.tex', 'Godot Engine Documentation',
|
||||
'Juan Linietsky, Ariel Manzur and the Godot community', 'manual'),
|
||||
]
|
||||
|
||||
# -- I18n settings --------------------------------------------------------
|
||||
locale_dirs = ['locale/']
|
||||
gettext_compact = False
|
||||
# Exclude class reference when marked with tag i18n.
|
||||
if tags.has('i18n'):
|
||||
exclude_patterns = ['classes']
|
||||
|
||||
Reference in New Issue
Block a user