![]() When a user clicks on the link of an alternate page in the version or language switcher, we now check if the page referenced by the target URL exists or not. If not, we generate a series of fallback URLs from the target URL and check whether the targeted resource exists or not, until we read the root of the documentation. As soon as we find a valid URL, we redirect the user to it. This is inspired by the behaviour of docs.python.org's version and language switchers. task-2534669 closes odoo/documentation#1588 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com> Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com> |
||
---|---|---|
.. | ||
autodoc_placeholder | ||
custom_admonitions | ||
embedded_video | ||
github_link | ||
html_domain | ||
odoo_theme | ||
redirects | ||
sphinx_tabs |