diff --git a/docs_theme/main.html b/docs_theme/main.html index e83c135d5..210fa720b 100644 --- a/docs_theme/main.html +++ b/docs_theme/main.html @@ -1,86 +1,126 @@ + + + + + {% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }} + + + + + + - - - - {% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }} - - - - - - - - + - - + - + (function () { + var ga = document.createElement("script"); + ga.type = "text/javascript"; + ga.async = true; + ga.src = + ("https:" == document.location.protocol + ? "https://ssl" + : "http://www") + ".google-analytics.com/ga.js"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(ga, s); + })(); + - - - + #sidebarInclude a.promo { + color: black; + } + @media (max-width: 767px) { + div.promo { + display: none; + } + } + + + +
+ {% include "nav.html" %} -
- {% include "nav.html" %} +
+
+ - -
-

Documentation built with MkDocs. -

-
- - - - + - + - + - {% for path in config.extra_javascript %} - - {% endfor %} + {% for path in config.extra_javascript %} + + {% endfor %} - - + // Dynamically force sidenav/dropdown to no higher than browser window + $(".side-nav, .dropdown-menu").css( + "max-height", + window.innerHeight - 130 + ); + + $(function () { + $(window).resize(function () { + $(".side-nav, .dropdown-menu").css( + "max-height", + window.innerHeight - 130 + ); + }); + }); + + diff --git a/docs_theme/nav.html b/docs_theme/nav.html index 4e83c14af..203470c68 100644 --- a/docs_theme/nav.html +++ b/docs_theme/nav.html @@ -140,15 +140,16 @@ {% endif %}