documentation/extensions
Olivier Dony f4d032ecbc
[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:43:12 +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 [ADD] extensions: add a custom example admonition 2022-01-28 11:20:03 +00: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 [FIX] legal: fix some broken links (pdfs, translations) 2023-03-23 16:43:12 +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