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