[IMP] conf: hide saas branches from the version switcher

X-original-commit: 7f5b948f0b
This commit is contained in:
Antoine Vandevenne (anv) 2021-09-09 17:22:27 +02:00
parent b3c9728ec6
commit 03a610b7df

View File

@ -291,7 +291,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():