mirror of
https://github.com/odoo/documentation.git
synced 2026-01-02 17:59:20 +07:00
ad178b8002d5b0fdfa13ff146536945db5fb0b35
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>
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)
- A local copy of the odoo/upgrade-util repository (optional)
Instructions
- In a terminal, navigate to the root directory of the documentation and build it
make. Additional commands are available withmake help. - Open the file
documentation/_build/html/index.htmlin your web browser. - 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
Languages
reStructuredText
93.7%
SCSS
3.2%
JavaScript
1.7%
Python
0.9%
HTML
0.3%
Other
0.1%