Antoine Vandevenne (anv) ad178b8002 [IMP] conf.py: allow referencing unlabelled versions and languages
This commit removes the requirement on versions and languages to have a
label in `versions_names`/`languages_names` to be displayed in the
version/language switcher. Instead, if a version/language has no label
defined, the raw version/language string will be used as fallback.

This change makes it easier to add new versions or languages to the
documentation without having to explicitly define display labels for
them in `conf.py`. The responsibility of ensuring that referenced
versions and languages actually exist is shifted to the build
configuration.

Part-of: odoo/documentation#12341
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-03-10 15:30:49 +00:00
2024-10-07 14:42:49 +00:00
2025-02-21 09:42:54 +00:00
2023-09-13 04:37:09 +00:00
2023-09-13 04:37:09 +00:00

Odoo documentation

Build the documentation locally

Requirements

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 and odoo/upgrade-util repositories 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.

Description
Odoo documentation sources
Readme CC-BY-SA-4.0 2.9 GiB
Languages
reStructuredText 93.7%
SCSS 3.2%
JavaScript 1.7%
Python 0.9%
HTML 0.3%
Other 0.1%