Commit graph

4 commits

Author SHA1 Message Date
Jimmy Cai
d941e22120 docs: add vitepress cache folder to gitignore 2023-09-18 14:29:54 +02:00
Jimmy Cai
692804498d doc: documentation is now in the same repository as the code
Demo site will be generated in subfolder /demo
2023-09-11 18:16:29 +02:00
Zoroark
2b40a32d47
feat(article): Scrollspy for the table of contents (#425)
* Add first try at scrollspy (broken right now)

* Scrollspy actually works now

* Fix VS Code errors by setting JS version

* Recompute offsets when window size changes

* Improve list compatibility for toc active selection

Support up to 6 levels of indentation, properly support <ol>

* Remove debug string

* Add more docs in smoothAnchors

* Use a map to match ids to navigation elements
2022-01-22 10:35:08 +01:00
Jimmy Cai
a822411a03 chore: add Github Codespace config 2021-10-23 06:51:56 +00:00