[MERGE] Forward-port of branch 13.0 to 12.0

This commit is contained in:
Victor Feyens
2021-05-11 15:25:37 +02:00
89 changed files with 771 additions and 3259 deletions

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