![]() Attempting to switch from one version to another when navigating <old_version>/applications/hr/employees.html led to the user being redirected to /applications/documentation/<new_version>/hr/employees.html because `hr` was interpreted as a version string, and thus the generated target URLs of the version switcher were all wrong. This commit ensures the redirection now falls back onto the original target URL when all the generated ones point to a 404. closes odoo/documentation#5037 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com> |
||
---|---|---|
.. | ||
autodoc_placeholder | ||
cards | ||
custom_admonitions | ||
embedded_video | ||
github_link | ||
html_domain | ||
odoo_theme | ||
redirects | ||
sphinx_tabs | ||
spoilers |