mirror of
https://github.com/odoo/documentation.git
synced 2025-12-14 00:19:05 +07:00
[MERGE] Forward-port of branch 14.0 to master
This commit is contained in:
2
conf.py
2
conf.py
@@ -131,7 +131,7 @@ github_project = 'documentation'
|
||||
|
||||
locale_dirs = ['../locale/']
|
||||
|
||||
# custom docname_to_domain to devide the translations of applications in subdirectories
|
||||
# custom docname_to_domain to divide the translations of applications in subdirectories
|
||||
sphinx.transforms.i18n.docname_to_domain = (
|
||||
sphinx.util.i18n.docname_to_domain
|
||||
) = lambda docname, compact: docname.split('/')[1 if docname.startswith('applications/') else 0]
|
||||
|
||||
Reference in New Issue
Block a user