documentation/extensions/odoo_theme/layout_templates
Olivier Dony e6aa5dd01b
[FIX] legal: fix some broken links (pdfs, translations)
1) PDF files are generated and stored at the root of the CURRENT_BRANCH
directory. The links to those files are generated at different levels of
the doctree, which makes it impossible to use a relative path.
For example the same "Enterprise Agreement" doc in EN is published on:
 - /16.0/legal/terms/enterprise.html
 - /16.0/fr/legal/terms/enterprise.html

As a workaround, use absolute links for the PDFs. They won't work
locally for now. Can be improved later, as long as we don't break
those links located in various depths of the troctree.

2) The legal constracts aren't translated in all availables languages
(yet), so those links are 404s now. Introduced a conf.py variable
`legal_translations` with the list of languages where translated
contracts are indeed available, and falling back to the EN version
otherwise. Some languages don't have *all* the contracts translated, so
some 404 may remain temporarily.

Forward-port of f69dba70be
2023-03-23 16:42:27 +01:00
..
footer.html [IMP][CSS] Rescale heading fonts 2023-01-05 09:48:41 +01:00
google_analytics.html [REF][MOV] documentation apocalypse 2021-05-04 15:44:00 +02:00
header.html [IMP][CSS] Use BS font-weight variables and fix 2023-01-05 09:48:41 +01:00
homepage.html [MOV] howto/rdtraining: move "Getting started" to the tutorials dir 2023-02-23 14:33:14 +01:00
language_switcher.html [IMP] documentation: legal page design 2022-12-07 18:44:34 +01:00
legal.html [FIX] legal: fix some broken links (pdfs, translations) 2023-03-23 16:42:27 +01:00
menu.html [FIX] *: enforce 1 newline on files end 2022-11-18 20:30:00 +01:00
page_toc.html [IMP][CSS] Rescale heading fonts 2023-01-05 09:48:41 +01:00
searchbox.html [IMP] odoo_theme: add subheader and adapt switchers and searchbar 2022-06-15 11:49:26 +02:00
version_switcher.html [IMP] documentation: legal page design 2022-12-07 18:44:34 +01:00