documentation/content
Olivier Dony 14e33886f4
[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:41:22 +01:00
..
administration [IMP] supported_versions: flag saas-16.1 as supported 2023-03-17 12:05:07 +01:00
applications [IMP] pos: take the half-up out of the last note 2023-03-21 12:02:38 +01:00
contributing [IMP] contributing: fix a punctutation mistake in contributing 2023-03-02 18:58:51 +01:00
developer [ADD] extensions/cards: add an extension to implement cards 2023-02-27 16:01:07 +01:00
legal [FIX] legal: fix some broken links (pdfs, translations) 2023-03-23 16:41:22 +01:00
services/support [REV] services: keep what can i expect page 2021-07-07 16:38:09 +02:00
administration.rst [IMP] upgrade: create new "upgrade" section in "install and maintain" 2021-10-15 11:45:14 +00:00
applications.rst [IMP] *: introduce tables of contents in top-level app pages 2021-07-07 14:56:38 +02:00
contributing.rst [IMP] contributing: list the ways to contribute to Odoo 2022-12-08 16:10:24 +01:00
developer.rst [MOV] developer/cli: move "Command-line interface (CLI)" to the reference dir 2023-02-22 14:31:26 +01:00
index.rst [IMP] *: introduce tables of contents in top-level app pages 2021-07-07 14:56:38 +02:00
last_build.rst [FIX] *: RST cleanup 2023-02-14 14:27:44 +01:00
legal.rst [IMP] documentation: legal page design 2022-12-07 15:21:24 +01:00