Commits

Robert Lehmann committed 14b7471

Fixed sidebar panel name.

Comments (0)

Files changed (2)

sphinx/themes/basic/static/sidebar.js

-$(document).ready(function() {
-  if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) {
-    $('a[title=addsidebar]').click(function(event) {
-      event.preventDefault();
-      window.sidebar.addPanel("Python Sidebar", this.href, "");
-    });
-  }
-});

sphinx/themes/basic/static/sidebar.js_t

+$(document).ready(function() {
+  if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) {
+    $('a[title=addsidebar]').click(function(event) {
+      event.preventDefault();
+      window.sidebar.addPanel("{{ project }} Sidebar", this.href, "");
+    });
+  }
+});