Commit 80cf28f3 authored by bow's avatar bow
Browse files

Merge branch 'fix-docs-highlight' into 'develop'

Add scrollspy to the reports

scrollspy to pin point where you are in the side nav

See merge request !192
parents e88b3068 45e9dd42
...@@ -72,7 +72,11 @@ ...@@ -72,7 +72,11 @@
$(document).ready(function() { $(document).ready(function() {
Sortable.init() Sortable.init()
$('body').scrollspy({
target: '.bs-sidebar',
}); });
});
//--> //-->
</script> </script>
</head> </head>
...@@ -129,7 +133,7 @@ ...@@ -129,7 +133,7 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div id="side-nav" class="col-sm-3 col-md-2 sidebar"> <div id="side-nav" class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar nav-list"> <ul class="nav nav-sidebar nav-list bs-sidebar">
#for ((name, url) <- page.sections) #for ((name, url) <- page.sections)
<li><a href="#${name}">${name}</a></li> <li><a href="#${name}">${name}</a></li>
#end #end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment