Added Docs

This commit is contained in:
Craig Yamato
2018-09-24 06:42:23 +00:00
parent f28a121da8
commit 9b9b63fc12
29 changed files with 30133 additions and 29 deletions

11
docs/scripts/collapse.js Normal file
View File

@ -0,0 +1,11 @@
function hideAllButCurrent(){
//by default all submenut items are hidden
$("nav > ul > li > ul li").hide();
//only current page (if it exists) should be opened
var file = window.location.pathname.split("/").pop();
$("nav > ul > li > a[href^='"+file+"']").parent().find("> ul li").show();
}
$( document ).ready(function() {
hideAllButCurrent();
});