You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/05/21 01:28:53 UTC

[04/15] incubator-mynewt-site git commit: fix doc sidebar background height

fix doc sidebar background height


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/eea01e66
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/eea01e66
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/eea01e66

Branch: refs/heads/master
Commit: eea01e6699980fcb5a413e0aa3040780955fd437
Parents: 7108e2d
Author: Gavin Jefferies <ga...@runtime.io>
Authored: Thu May 19 16:39:17 2016 -0700
Committer: Gavin Jefferies <ga...@runtime.io>
Committed: Thu May 19 16:39:17 2016 -0700

----------------------------------------------------------------------
 custom-theme/js/base.js | 6 ------
 custom-theme/toc.html   | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eea01e66/custom-theme/js/base.js
----------------------------------------------------------------------
diff --git a/custom-theme/js/base.js b/custom-theme/js/base.js
index 113422e..3a46f88 100644
--- a/custom-theme/js/base.js
+++ b/custom-theme/js/base.js
@@ -5,12 +5,6 @@ $( document ).ready(function() {
     $('table').addClass('table table-striped table-hover');
 });
 
-
-$('body').scrollspy({
-    target: '.bs-sidebar',
-});
-
-
 /* Prevent disabled links from causing a page reload */
 $("li.disabled a").click(function() {
     event.preventDefault();

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/eea01e66/custom-theme/toc.html
----------------------------------------------------------------------
diff --git a/custom-theme/toc.html b/custom-theme/toc.html
index c62fe57..88685cd 100644
--- a/custom-theme/toc.html
+++ b/custom-theme/toc.html
@@ -1,4 +1,4 @@
-<div class="hidden-print" role="complementary">
+<div id="docSidebar" class="hidden-print" role="complementary">
     <div class="top">
         <img class="hidden-xs hidden-sm logo-small" src="/img/logo.svg" alt="MyNewt" title="MyNewt">
         <div role="search">