mirror of
https://github.com/odoo/documentation.git
synced 2026-01-02 17:59:20 +07:00
[IMP] conf: hide saas branches from the version switcher
This commit is contained in:
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)
|
||||
if _alternate_version != version and (
|
||||
_alternate_version != 'master' or pagename.startswith('developer')
|
||||
)
|
||||
) and not _alternate_version.startswith('saas')
|
||||
]
|
||||
|
||||
def _localize():
|
||||
|
||||
Reference in New Issue
Block a user