I'm adding toc.js to a page at http://localhost:8080/testview?view=dev/styleguide.html, yet the links in the TOC are things like this:
<a href="#toc-atoms">Atoms</a>
Clicking on that link takes me to http://localhost:8080/#toc-atoms in error. I think the links should be like /testview?view=dev/styleguide.html#toc-atoms, instead.
How can this be fixed?
Also, not sure if this is related, but the active state isn't following my scroll, either.
I'm adding toc.js to a page at
http://localhost:8080/testview?view=dev/styleguide.html
, yet the links in the TOC are things like this:Clicking on that link takes me to
http://localhost:8080/#toc-atoms
in error. I think the links should be like/testview?view=dev/styleguide.html#toc-atoms
, instead.How can this be fixed?
Also, not sure if this is related, but the active state isn't following my scroll, either.