documentation/extensions
Olivier Dony d0b7363de5
[IMP] conf: special case alt lang links for legal terms
Legal terms live under specific URL as their translations are not
managed in the same manner.

Layout is like this:
  /terms/enterprise.html (EN)
  /terms/i18n/enterprise_fr.html (FR)

This commit adapts the generation of alternative languages links for each
"legal terms page", so that it targets the correct i18n link, or goes
back to the canonical EN one, depending on the target language.

closes odoo/documentation#7382

closes odoo/documentation#7384

closes odoo/documentation#7387

Signed-off-by: Olivier Dony (odo) <odo@odoo.com>
2024-01-15 22:56:16 +01:00
..
autodoc_field [FIX] *: remove trailing whitespaces 2022-11-18 18:04:50 +01:00
autodoc_placeholder [ADD] extensions: new autofield directive 2022-05-09 14:03:24 +02:00
cards [ADD] extensions/cards: add an extension to implement cards 2023-02-28 18:08:29 +01:00
custom_admonitions [IMP] odoo_theme: tweak the HTML structure of TOC entries 2023-04-12 12:26:14 +02:00
embedded_video [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
github_link [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
graphviz_placeholder [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
html_domain [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
odoo_theme [IMP] conf: special case alt lang links for legal terms 2024-01-15 22:56:16 +01:00
redirects [CLN] core: upgrade to python 3.6 2022-11-17 11:58:56 +01:00
spoilers [IMP] extensions/spoilers: add an extension for spoilers 2022-10-28 14:21:05 +02:00