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

This commit is contained in:
Antoine Vandevenne (anv) 2021-02-19 12:16:13 +01:00
commit 54091476d4
3 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import os
import sys
from pathlib import Path
@ -166,7 +167,7 @@ html_theme_path = ['extensions']
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = None TODO ANVFE remove?
html_favicon = os.path.join(html_theme_path[0], html_theme, 'static', 'img', 'favicon.ico')
# Add any paths that contain custom static files (such as style sheets) here, relative to this
# directory. They are copied after the builtin static files, so a file named "default.css" will

View File

@ -7,7 +7,7 @@
<button class="btn border dropdown-toggle" id="versions" data-bs-toggle="dropdown">
{{ version }} {# The current version #}
</button>
<ul class="dropdown-menu" aria-labelledby="versions">
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="versions">
{% for alternate_version, url in alternate_versions %}
<li><a class="dropdown-item" href="{{ url }}">{{ alternate_version }}</a></li>
{% endfor %}

View File

@ -1,5 +1,5 @@
pygments~=2.6.1
pysass~=0.1.0
sphinx~=3.0
werkzeug==0.14.1
werkzeug==0.14.1 # TODO ANVFE bump werkzeug to 0.16 ?
sphinx-patchqueue>=1.0