[MERGE] Forward-port of branch 12.0 to 13.0

This commit is contained in:
Victor Feyens
2021-05-11 15:13:58 +02:00
86 changed files with 773 additions and 3211 deletions
+1 -4
View File
@@ -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