Odoo documentation sources
Go to file
Rémy Baranx (bar) 57e1e31433 [FIX] conf.py: check odoo_dir is a real Odoo sources dir
In `conf.py`, we try to find a Odoo sources folder among `odoo` and
`../odoo` directories without really checking that they really are
Odoo sources folders, leading to doc generation error if it's not the case.

So, to improve that, this commit checks that the selected Odoo sources folder
contains `odoo-bin`.

While we're at it, the logging is also improved to always display the
matching odoo sources' folder and version.

closes odoo/documentation#1340

X-original-commit: f72e557f2c
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Co-authored-by: Antoine Vandevenne <anv@odoo.com>
2021-11-29 10:59:09 +00:00
.github [IMP] CODEOWNERS: add new codeowner for technical files 2021-05-05 11:09:31 +02:00
.tx [I18N] *: export 15.0 translations 2021-11-02 10:26:17 +01:00
content [FIX] point_of_sale: Update certificate import 2021-11-22 07:58:58 +00:00
extensions [IMP] developer: rename addons/js => backend/frontend 2021-11-02 13:42:38 +00:00
locale [I18N] *: export 15.0 translations 2021-11-02 10:26:17 +01:00
static [IMP] js: js domain css customization 2021-11-03 09:19:09 +00:00
.gitignore [FIX] makefile: fix overridden css 2021-08-05 08:49:59 +00:00
commit_template.txt [IMP] base: add a commit message template with the guidelines 2020-01-16 14:17:37 +01:00
conf.py [FIX] conf.py: check odoo_dir is a real Odoo sources dir 2021-11-29 10:59:09 +00:00
Makefile [FIX] Makefile: call pysassc from python module 2021-11-03 11:04:17 +00:00
README.md [IMP] administration/install, *: make 3.7 the minimum version for Python 2021-11-02 10:51:49 +00:00
redirects.txt [ADD] product_images: add a tutorial 2021-11-15 15:18:39 +00:00
requirements.txt [FIX] Makefile: call pysassc from python module 2021-11-03 11:04:17 +00:00

Odoo documentation

Build the documentation locally

Requirements

Instructions

  1. In a terminal, navigate to the root directory and compile the documentation to HTML with the following command:

    make
    

    Additional commands are available with make help.

  2. Open the file documentation/_build/html/index.html in your web browser to display the render.

  3. See this guide for more detailed instructions.

Optional: to fully build the developer documentation with inline docstrings for documented Python functions, place your local copy of the odoo/odoo repository in the root directory. Alternatively, create a symbolic link with odoo as link name. If the Odoo sources are not found, a warning will be shown.

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 as usual.

If you have a pull request that is ready for review, request one from the odoo/doc-review team.

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.