[FIX] conf: specify which value is actually needed

This commit is contained in:
Martin Trigaux 2021-05-06 13:42:08 +02:00
parent 25af2874cd
commit c946b35f71

View File

@ -308,7 +308,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