![]() 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#5059
X-original-commit:
|
||
---|---|---|
.. | ||
autodoc_field | ||
autodoc_placeholder | ||
cards | ||
custom_admonitions | ||
embedded_video | ||
github_link | ||
graphviz_placeholder | ||
html_domain | ||
odoo_theme | ||
redirects | ||
spoilers |