diff options
author | zotlabs <mike@macgirvin.com> | 2016-12-09 13:46:07 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-09 13:46:07 +1100 |
commit | e419a034b7ce55d2e639ea2100cbafd46c109fd9 (patch) | |
tree | 1a4a57b201c189dbac3bf5fd25c148015fe7e871 /view/tpl/help.tpl | |
parent | 33d75ad7b0b203f121d35d857a9c17d71dda6327 (diff) | |
parent | cafa5217ed3824c142b44b8b8e5bcb484ffea6fe (diff) | |
download | volse-hubzilla-e419a034b7ce55d2e639ea2100cbafd46c109fd9.tar.gz volse-hubzilla-e419a034b7ce55d2e639ea2100cbafd46c109fd9.tar.bz2 volse-hubzilla-e419a034b7ce55d2e639ea2100cbafd46c109fd9.zip |
Merge pull request #616 from anaqreon/doco
Doco updates
Diffstat (limited to 'view/tpl/help.tpl')
-rw-r--r-- | view/tpl/help.tpl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl index 96d52e0e9..2faaa3853 100644 --- a/view/tpl/help.tpl +++ b/view/tpl/help.tpl @@ -3,6 +3,20 @@ <h2>{{$title}}</h2> </div> <div class="section-content-wrapper" id="doco-content"> + <h1>Contents</h1> + <ul id="doco-top-toc"></ul> + <hr> {{$content}} </div> </div> + +<script> + + // Generate the table of contents in the side nav menu (see view/tpl/help.tpl) + $(document).ready(function () { + + $('#doco-top-toc').toc({content: "#doco-content", headings: "h1,h2,h3,h4"}); + + }); + +</script>
\ No newline at end of file |