+
{% block sidebartitle %}
{% if logo and theme_logo_only %}
@@ -101,8 +118,10 @@
{% endif %}
{% if logo %}
- {# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #}
-
 }})
+ {# Not strictly valid HTML, but it's the only way to display/scale
+ it properly, without weird scripting or heaps of work
+ #}
+
 }})
{% endif %}
@@ -130,7 +149,10 @@
toctree is empty. Skip building this for now.
#}
{% if 'singlehtml' not in builder %}
- {% set global_toc = toctree(maxdepth=theme_navigation_depth|int, collapse=theme_collapse_navigation, includehidden=True) %}
+ {% set global_toc = toctree(maxdepth=theme_navigation_depth|int,
+ collapse=theme_collapse_navigation|tobool,
+ includehidden=theme_includehidden|tobool,
+ titles_only=theme_titles_only|tobool) %}
{% endif %}
{% if global_toc %}
{{ global_toc }}
@@ -146,7 +168,7 @@
{# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #}
- ");
-
- // Add expand links to all parents of nested ul
- $('.wy-menu-vertical ul').not('.simple').siblings('a').each(function () {
- var link = $(this);
- expand = $('
');
- expand.on('click', function (ev) {
- self.toggleCurrent(link);
- ev.stopPropagation();
- return false;
- });
- link.prepend(expand);
- });
- };
-
- nav.reset = function () {
- // Get anchor from URL and open up nested nav
- var anchor = encodeURI(window.location.hash);
- if (anchor) {
- try {
- var link = $('.wy-menu-vertical')
- .find('[href="' + anchor + '"]');
- // If we didn't find a link, it may be because we clicked on
- // something that is not in the sidebar (eg: when using
- // sphinxcontrib.httpdomain it generates headerlinks but those
- // aren't picked up and placed in the toctree). So let's find
- // the closest header in the document and try with that one.
- if (link.length === 0) {
- var doc_link = $('.document a[href="' + anchor + '"]');
- var closest_section = doc_link.closest('div.section');
- // Try again with the closest section entry.
- link = $('.wy-menu-vertical')
- .find('[href="#' + closest_section.attr("id") + '"]');
-
- }
- $('.wy-menu-vertical li.toctree-l1 li.current')
- .removeClass('current');
- link.closest('li.toctree-l2').addClass('current');
- link.closest('li.toctree-l3').addClass('current');
- link.closest('li.toctree-l4').addClass('current');
- }
- catch (err) {
- console.log("Error expanding nav for anchor", err);
- }
- }
- };
-
- nav.onScroll = function () {
- this.winScroll = false;
- var newWinPosition = this.win.scrollTop(),
- winBottom = newWinPosition + this.winHeight,
- navPosition = this.navBar.scrollTop(),
- newNavPosition = navPosition + (newWinPosition - this.winPosition);
- if (newWinPosition < 0 || winBottom > this.docHeight) {
- return;
- }
- this.navBar.scrollTop(newNavPosition);
- this.winPosition = newWinPosition;
- };
-
- nav.onResize = function () {
- this.winResize = false;
- this.winHeight = this.win.height();
- this.docHeight = $(document).height();
- };
-
- nav.hashChange = function () {
- this.linkScroll = true;
- this.win.one('hashchange', function () {
- this.linkScroll = false;
- });
- };
-
- nav.toggleCurrent = function (elem) {
- var parent_li = elem.closest('li');
- parent_li.siblings('li.current').removeClass('current');
- parent_li.siblings().find('li.current').removeClass('current');
- parent_li.find('> ul li.current').removeClass('current');
- parent_li.toggleClass('current');
- }
-
- return nav;
-};
-
-module.exports.ThemeNav = ThemeNav();
-
-if (typeof(window) != 'undefined') {
- window.SphinxRtdTheme = { StickyNav: module.exports.ThemeNav };
-}
-
-},{"jquery":"jquery"}]},{},["sphinx-rtd-theme"]);
+/* sphinx_rtd_theme version 0.4.3 | MIT license */
+/* Built 20190212 16:02 */
+require=function r(s,a,l){function c(e,n){if(!a[e]){if(!s[e]){var i="function"==typeof require&&require;if(!n&&i)return i(e,!0);if(u)return u(e,!0);var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}var o=a[e]={exports:{}};s[e][0].call(o.exports,function(n){return c(s[e][1][n]||n)},o,o.exports,r,s,a,l)}return a[e].exports}for(var u="function"==typeof require&&require,n=0;n
"),i(".wy-menu-vertical ul").not(".simple").siblings("a").each(function(){var e=i(this);expand=i('
'),expand.on("click",function(n){return t.toggleCurrent(e),n.stopPropagation(),!1}),e.prepend(expand)})},reset:function(){var n=encodeURI(window.location.hash)||"#";try{var e=$(".wy-menu-vertical"),i=e.find('[href="'+n+'"]');if(0===i.length){var t=$('.document [id="'+n.substring(1)+'"]').closest("div.section");0===(i=e.find('[href="#'+t.attr("id")+'"]')).length&&(i=e.find('[href="#"]'))}0