From: Xavier Morel Date: Thu, 4 Sep 2014 14:23:15 +0000 (+0200) Subject: [IMP] doc: move version switcher to header X-Git-Tag: 8.0.0~152 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=22324537602888143c0efae672deac0ec3f6d369;p=odoo%2Fodoo.git [IMP] doc: move version switcher to header as recommended by nwi use same style as logo but very slightly smaller font, otherwise the difference is a bit jarring as numbers are much bigger than the app logo's text --- diff --git a/doc/_themes/odoodoc/layout.html b/doc/_themes/odoodoc/layout.html index 69f7dbf..3e75dad 100644 --- a/doc/_themes/odoodoc/layout.html +++ b/doc/_themes/odoodoc/layout.html @@ -33,16 +33,6 @@
{{ toctree(maxdepth=4, collapse=False, includehidden=True, main_navbar=False, titles_only=False) }} - {% if versions %} -
- Documentation version: {{ version }} -
    - {% for name, url in versions %} -
  • {{ name }}
  • - {% endfor %} -
-
- {% endif %} {% if github_link %}

Edit on GitHub @@ -68,6 +58,18 @@ + {% if versions %} +

+ {% endif %}