Odoo documentation sources
Go to file
Martin Trigaux 7c2f300c95 [IMP] odoo_theme: introduce fallback URLs for the page switchers
When a user clicks on the link of an alternate page in the version or
language switcher, we now check if the page referenced by the target URL
exists or not. If not, we generate a series of fallback URLs from the
target URL and check whether the targeted resource exists or not, until
we read the root of the documentation. As soon as we find a valid URL,
we redirect the user to it.

This is inspired by the behaviour of docs.python.org's version and
language switchers.

task-2534669

closes odoo/documentation#2044

X-original-commit: 25e863a64c
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-05-19 22:32:45 +02:00
.tx [I18N] *: export source terms 2022-03-18 16:04:17 +01:00
content [FW][FIX] developer/howtos: Fixed typo from field to fields 2022-05-19 15:39:42 +02:00
extensions [IMP] odoo_theme: introduce fallback URLs for the page switchers 2022-05-19 22:32:45 +02:00
locale [I18N] Update translation terms from Transifex 2022-05-15 01:40:22 +02:00
static [IMP] js: js domain css customization 2021-11-03 09:19:09 +00:00
.gitattributes [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-28 18:02:06 +02:00
.gitignore [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-28 18:02:06 +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 [FIX] conf: allow building the documentation with Python 3.6. 2022-05-09 14:06:23 +02:00
Makefile [IMP] odoo_theme: allow to add plausible script 2022-05-09 11:44:17 +02:00
README.md [IMP] README: remove request for review instruction 2021-12-09 13:38:12 +00:00
redirects.txt [IMP] CRM: updating flow and screenshots of generating leads 2022-05-19 13:06:05 +02:00
requirements.txt [FIX] requirements.txt: pin Jinja2 < 3.1 2022-05-13 13:17:04 +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.