[IMP] conf: hide saas branches from the version switcher
closes odoo/documentation#1131
X-original-commit: 7f5b948f0b
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
ebf216cc8e
commit
7f3c27b49c
2
conf.py
2
conf.py
@ -290,7 +290,7 @@ def _generate_alternate_urls(app, pagename, templatename, context, doctree):
|
|||||||
for _alternate_version in sorted(_alternate_versions, reverse=True)
|
for _alternate_version in sorted(_alternate_versions, reverse=True)
|
||||||
if _alternate_version != version and (
|
if _alternate_version != version and (
|
||||||
_alternate_version != 'master' or pagename.startswith('developer')
|
_alternate_version != 'master' or pagename.startswith('developer')
|
||||||
)
|
) and not _alternate_version.startswith('saas')
|
||||||
]
|
]
|
||||||
|
|
||||||
def _localize():
|
def _localize():
|
||||||
|
Loading…
Reference in New Issue
Block a user