Odoo documentation sources
Go to file
Antoine Vandevenne (anv) cf6ca0fbb2 [IMP] contributing/doc, install: add an extension for content tabs
In many places in the docs, we need to document several flows that
differ only by a few details. For example, the steps to install Odoo
from the sources are almost identical for Windows, Linux, and Mac OS.
In other places, we'd want to suggest a command in different
environments or programming languages, etc.

This commit thus adds an extension for content tabs (tabs within the
content) to help reduce content repetition in the documentation. As a
proof of concept, the "Packaged installers" and "Source install"
sections of the "Installing Odoo" page are reworked to present their
content within tabs whenever it helps clarify the instructions.

A new python dependency is added as of this commit: `sphinx-tabs`

task-2713983

closes odoo/documentation#1528

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Co-authored-by: Lucie Van Nieuwenhuyse (luvn) <luvn@odoo.com>
2022-02-07 16:44:01 +00:00
.tx [MERFE] Froward port of 13.0 to 14.0 2021-06-14 16:11:22 +02:00
content [IMP] contributing/doc, install: add an extension for content tabs 2022-02-07 16:44:01 +00:00
extensions [ADD] extensions: add a custom example admonition 2022-01-28 11:20:03 +00:00
locale [I18N] Update translation terms from Transifex 2021-06-20 01:31:08 +02:00
static [IMP] js: js domain css customization 2021-11-03 09:31:04 +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 [IMP] contributing/doc, install: add an extension for content tabs 2022-02-07 16:44:01 +00:00
Makefile [FIX] Makefile: call pysassc from python module 2021-11-03 11:13:39 +00:00
README.md [IMP] README: remove request for review instruction 2021-12-09 13:40:37 +00:00
redirects.txt [FIX] redirections: duplicate rule + misplaced rules 2022-02-07 16:11:59 +00:00
requirements.txt [IMP] contributing/doc, install: add an extension for content tabs 2022-02-07 16:44:01 +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.

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.