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
......@@ -70,9 +70,13 @@
<script language="JavaScript">
<!--
$(document).ready(function() {
Sortable.init()
Sortable.init()
$('body').scrollspy({
target: '.bs-sidebar',
});
});
//-->
</script>
</head>
......@@ -129,7 +133,7 @@
<div class="container-fluid">
<div class="row">
<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)
<li><a href="#${name}">${name}</a></li>
#end
......
Markdown is supported
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