Odoo documentation sources
Go to file
Antoine Vandevenne (anv) c81a91db9c [FIX] odoo_theme/switchers: fallback to the original target URL
Attempting to switch from one version to another when navigating
<old_version>/applications/hr/employees.html led to the user being
redirected to /applications/documentation/<new_version>/hr/employees.html
because `hr` was interpreted as a version string, and thus the generated
target URLs of the version switcher were all wrong.

This commit ensures the redirection now falls back onto the original
target URL when all the generated ones point to a 404.

closes odoo/documentation#5037

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-07-07 14:46:26 +02:00
.tx [I18N] migrate to the nex transifex API 2023-02-09 09:41:17 +01:00
content [IMP] authorize.net statement import 2023-07-07 12:47:12 +02:00
extensions [FIX] odoo_theme/switchers: fallback to the original target URL 2023-07-07 14:46:26 +02:00
locale [I18N] *: export translations 2023-07-06 16:00:53 +02:00
redirects [DEL] MRP: Delete Alternative Work Centers 2023-06-21 16:41:39 +02:00
static [IMP] odoo_theme: design improvements 2023-04-11 16:43:55 +02:00
tests [ADD] tests: image size checker 2023-04-11 10:31:04 +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 [FIX] *: enforce 1 newline on files end 2022-11-18 17:33:13 +01:00
conf.py [FIX] werkzeug version 2023-06-09 01:10:35 +02:00
Makefile [REF] tests: split checkers 2023-03-10 09:39:06 +01:00
README.md [IMP] README: remove version from links and rephrase explanations 2023-01-02 12:03:48 +01:00
requirements.txt [IMP] conf.py, requirements.txt, *: allow building with Python 3.10 2022-07-14 16:39:48 +02:00

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)

Instructions

  1. In a terminal, navigate to the root directory of the documentation and build it make. Additional commands are available with make help.
  2. Open the file documentation/_build/html/index.html in your web browser.
  3. See this guide for more detailed instructions.

Optional: place your local copy of the odoo/odoo repository 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.