[IMP] conf.py: use SaaS branch names as labels in the version switcher

This removes the confusion induced by simultaneously labelling several
SaaS branches as "Odoo Online" in the version switcher.

New branches will be automatically labelled as "Odoo xx.y" as they are
frozen by the freeze script.

task-4597225

Part-of: odoo/documentation#12341
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Antoine Vandevenne (anv)
2025-03-10 09:12:37 +01:00
parent ad178b8002
commit 3dea073560

View File

@@ -231,11 +231,11 @@ sphinx.transforms.i18n.docname_to_domain = (
# is populated.
versions_names = {
'master': "Master",
'saas-18.2': "Odoo Online",
'saas-18.1': "Odoo Online",
'saas-18.2': "Odoo 18.2",
'saas-18.1': "Odoo 18.1",
'18.0': "Odoo 18",
'saas-17.4': "Odoo Online",
'saas-17.2': "Odoo Online",
'saas-17.4': "Odoo 17.4",
'saas-17.2': "Odoo 17.2",
'17.0': "Odoo 17",
'16.0': "Odoo 16",
'15.0': "Odoo 15",