From 22324537602888143c0efae672deac0ec3f6d369 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 4 Sep 2014 16:23:15 +0200 Subject: [PATCH] [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 --- doc/_themes/odoodoc/layout.html | 22 ++++----- doc/_themes/odoodoc/static/style.css | 63 ++++++++------------------ doc/_themes/odoodoc/static/style.less | 65 +++++++-------------------- 3 files changed, 48 insertions(+), 102 deletions(-) diff --git a/doc/_themes/odoodoc/layout.html b/doc/_themes/odoodoc/layout.html index 69f7dbff2e9..3e75dadac89 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 %}