mirror of
https://github.com/odoo/documentation.git
synced 2025-12-13 07:59:10 +07:00
[MERGE] Forward-port of branch 13.0 to 12.0
This commit is contained in:
5
conf.py
5
conf.py
@@ -102,9 +102,6 @@ extensions = [
|
||||
|
||||
'exercise_admonition',
|
||||
|
||||
# Build code from git patches
|
||||
'patchqueue',
|
||||
|
||||
# Redirection generator
|
||||
'redirects',
|
||||
|
||||
@@ -308,7 +305,7 @@ def _generate_alternate_urls(app, pagename, templatename, context, doctree):
|
||||
|
||||
def _build_url(_version=None, _lang=None):
|
||||
if app.config.is_remote_build:
|
||||
# Project root like https://odoo.com/documentation/14.0/fr
|
||||
# Project root like https://www.odoo.com/documentation
|
||||
_root = app.config.project_root
|
||||
else:
|
||||
# Project root like .../documentation/_build/html/14.0/fr
|
||||
|
||||
Reference in New Issue
Block a user