From 1f25bfea2ddbfa5c41ab3f0cd0716229833ebac1 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Tue, 9 Sep 2014 11:44:51 +1000 Subject: [PATCH] Make the side bar about in-document navigation by removing the duplicated h1 Docker-DCO-1.1-Signed-off-by: Sven Dowideit (github: SvenDowideit) --- docs/theme/mkdocs/base.html | 27 +++++++++------------------ docs/theme/mkdocs/css/docs.css | 8 +++++++- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/docs/theme/mkdocs/base.html b/docs/theme/mkdocs/base.html index b99cc8acc6..574825bb57 100644 --- a/docs/theme/mkdocs/base.html +++ b/docs/theme/mkdocs/base.html @@ -47,12 +47,16 @@
{% include "nav.html" %}
-{% if current_page.title != '**HIDDEN**' %} -
-
-

{{ current_page.title }}

+
+
+
+ +
-
+
+ {% include "beta_warning.html" %}
-
-
-{% endif %} -
-
-
- -
-
-
- {% include "beta_warning.html" %} {{ content }}
diff --git a/docs/theme/mkdocs/css/docs.css b/docs/theme/mkdocs/css/docs.css index d4536d7b0c..6a3bdd4875 100644 --- a/docs/theme/mkdocs/css/docs.css +++ b/docs/theme/mkdocs/css/docs.css @@ -328,4 +328,10 @@ ol li { } table.table tr td img { width:100%; -} \ No newline at end of file +} +#versionnav ul { + list-style: none outside none; +} +#versionnav ul ul { + padding: 0; +}