Merge branch '12.0-one-doc-edi' of github.com:odoo/documentation-user into 12.0-one-doc-edi
This commit is contained in:
commit
7dcb458585
4
conf.py
4
conf.py
@ -292,7 +292,9 @@ def _generate_alternate_urls(app, pagename, templatename, context, doctree):
|
|||||||
_alternate_versions = app.config.versions and app.config.versions.split(',') or []
|
_alternate_versions = app.config.versions and app.config.versions.split(',') or []
|
||||||
context['alternate_versions'] = [
|
context['alternate_versions'] = [
|
||||||
(_alternate_version, _build_url(_version=_alternate_version))
|
(_alternate_version, _build_url(_version=_alternate_version))
|
||||||
for _alternate_version in _alternate_versions if _alternate_version != version
|
for _alternate_version in _alternate_versions
|
||||||
|
if _alternate_version != version
|
||||||
|
and (_alternate_version != 'master' or pagename.startswith('developer'))
|
||||||
]
|
]
|
||||||
|
|
||||||
def _localize():
|
def _localize():
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
|
|
||||||
tabs.forEach(tab => {
|
tabs.forEach(tab => {
|
||||||
tab.classList.add('tab-pane');
|
tab.classList.add('tab-pane');
|
||||||
})
|
});
|
||||||
|
|
||||||
function select(index) {
|
function select(index) {
|
||||||
links.forEach(link => {
|
links.forEach(link => {
|
||||||
link.classList.remove('active');
|
link.classList.remove('active');
|
||||||
|
Loading…
Reference in New Issue
Block a user