Odoo documentation sources
Go to file
Antoine Vandevenne (anv) 81bf067ba1 [REF] legal: convert the table from a grid to a list table
Prior to this commit, the /legal.html page relied on RST substitutions
to insert the images directives of legal agreements within the table.
This caused Sphinx to omit the `image-reference` class on all `<a>`
elements surrounding an `<img>` element, which it normally adds when the
`target` option is specified on an `image` directive. As the theme
relies on that class to hide the "external link" icon added with commit
343decf1, the layout of the page was broken.

While replacing the substitutions with the plain `image` directive, the
grid table is converted to a list table to avoid the hassle of expanding
table cells to fit the directives. This will also help in maintaining
the content of the table when we will add new translations for the legal
agreements.

task-2909167

closes odoo/documentation#2461

X-original-commit: 2bf2604
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-07-13 14:27:32 +02:00
.tx [MERFE] Froward port of 13.0 to 14.0 2021-06-14 16:11:22 +02:00
content [REF] legal: convert the table from a grid to a list table 2022-07-13 14:27:32 +02:00
extensions [FIX] odoo_theme: show a cursor when hovering on an image without modal 2022-07-13 14:27:32 +02:00
locale [I18N] Update translation terms from Transifex 2022-07-10 02:40:15 +02:00
redirects [MOV] developer/misc: move all pages to a more logical location 2022-07-04 10:38:45 +02:00
static [REF] legal: convert the table from a grid to a list table 2022-07-13 14:27:32 +02:00
.gitattributes [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-28 17:46:58 +02:00
.gitignore [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-28 17:46:58 +02:00
commit_template.txt [IMP] base: add a commit message template with the guidelines 2020-01-16 14:17:37 +01:00
conf.py [CLN] conf.py: stop labelling saas-15.1 in version switcher 2022-07-11 14:35:34 +02:00
Makefile [IMP] odoo_theme: allow to add plausible script 2022-05-09 11:26:16 +02:00
README.md [IMP] README: remove request for review instruction 2021-12-09 13:38:16 +00:00
requirements.txt [FIX] requirements: pin docutils to 0.16.0 2022-06-09 15:58:02 +02: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.