ilastik / ilastik.github.io

https://ilastik.org
Other
3 stars 15 forks source link

TOC by JS reflection, fixes #13 #14

Closed chaubold closed 8 years ago

chaubold commented 8 years ago

Instead of relying on jekyll's table of content (TOC) generation macros which apparently changed in the transition from jekyll 2 to 3, we now use a jQuery based javascript library to generate the 2nd level TOC (for the current page) and insert it into the menu bar on the left. I've edited the JS library such that the first header in the document is excluded and thus we can still show the "active entry" in the menu bar.

Note: There should not be any further 1st level headings in the markdown-written documentation files!

chaubold commented 8 years ago

@akreshuk could you try whether it also works for you locally, and if that is the case, merge?