Odoo documentation sources
Go to file
Olivier Dony ca7c6df2a9
[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:54:02 +01:00
.tx [I18N] *: export 17.0 translations 2023-11-08 12:17:46 +00:00
content [CHG] legal: make Spanish partnership contract official 2024-01-15 22:54:02 +01:00
extensions [IMP] conf: special case alt lang links for legal terms 2024-01-15 22:54:02 +01:00
locale [I18N] *: export saas-16.1 translations 2023-12-22 07:33:45 +00:00
redirects [FIX] redirects: redirection loop on install.rst 2024-01-15 13:04:21 +00:00
static [FIX] accounting: cheat sheet reconcile 2023-12-13 14:39:19 +00:00
tests [IMP] tests: make review UX and resource files 2023-11-14 02:35:55 +00:00
.gitattributes [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-29 11:01:52 +02:00
.gitignore [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-29 11:01:52 +02:00
commit_template.txt [FIX] *: enforce 1 newline on files end 2022-11-18 18:04:49 +01:00
conf.py [IMP] conf: special case alt lang links for legal terms 2024-01-15 22:54:02 +01:00
COPYRIGHT [ADD] Add LICENSE and COPYRIGHT 2023-09-13 04:37:09 +00:00
LICENSE [ADD] Add LICENSE and COPYRIGHT 2023-09-13 04:37:09 +00:00
Makefile [REL] saas-17.1 2024-01-15 18:55:05 +00:00
README.md [IMP] README: remove version from links and rephrase explanations 2023-01-03 20:14:55 +01:00
requirements.txt [FIX] requirements: bump libsass to match odoo 2023-05-16 08:24:19 +02:00

Odoo documentation

Build the documentation locally

Requirements

  • Git
  • Python 3.6, 3.7, or 3.8
  • Python dependencies listed in the file requirements.txt.
  • Make
  • A local copy of the odoo/odoo repository (optional)

Instructions

  1. In a terminal, navigate to the root directory of the documentation and build it make. Additional commands are available with make help.
  2. Open the file documentation/_build/html/index.html in your web browser.
  3. See this guide for more detailed instructions.

Optional: place your local copy of the odoo/odoo repository in the parent directory or in the root directory of the documentation to build the latter with the documented Python docstrings.

Contribute to the documentation

For contributions to the content of the documentation, please refer to the Introduction Guide.

To report a content issue, request new content or ask a question, use the repository's issue tracker.

Learn More

To learn more about Odoo, in addition to the documentation, have a look at the official eLearning and Scale-up, The Business Game.