Merge branch '12.0-one-doc-edi' of github.com:odoo/documentation-user into 12.0-one-doc-edi

This commit is contained in:
Victor Feyens 2021-03-15 14:25:40 +01:00
commit 0a685bdb08
3 changed files with 8 additions and 8 deletions

View File

@ -292,9 +292,10 @@ def _generate_alternate_urls(app, pagename, templatename, context, doctree):
_alternate_versions = app.config.versions and app.config.versions.split(',') or []
context['alternate_versions'] = [
(_alternate_version, _build_url(_version=_alternate_version))
for _alternate_version in _alternate_versions
if _alternate_version != version
and (_alternate_version != 'master' or pagename.startswith('developer'))
for _alternate_version in sorted(_alternate_versions, reverse=True)
if _alternate_version != version and (
_alternate_version != 'master' or pagename.startswith('developer')
)
]
def _localize():

View File

@ -7,5 +7,4 @@ Sales
sales/crm
sales/sales
sales/point_of_sale
sales/sales
sales/point_of_sale

View File

@ -1,8 +1,8 @@
=======================
Developer Documentation
=======================
=========
Developer
=========
.. toctree::