Commit Graph

10558 Commits

Author SHA1 Message Date
Glen Huang
271b6fe7fc docs-site: fix intersection observer 2025-10-16 21:25:57 +08:00
Glen Huang
b899f95cf6 docs-site: implement tabs 2025-10-16 21:25:43 +08:00
Glen Huang
f9fe1b8913 docs-site: fix link migration 2025-10-16 18:57:35 +08:00
Glen Huang
fc8a65c388 docs-site: refactor admonition 2025-10-16 18:57:17 +08:00
Glen Huang
75f722bc79 docs-site: remove animation 2025-10-16 18:31:41 +08:00
Glen Huang
38f3ea6dad docs-site: add toc animation
The animation doesn't work perfectly. Because it's
time-bases, as a user scrolls down, a heading can
animate to a target location that is no longer
where the heading should be.

We can solve this problem by makinig the animation
scroll-based, but that is also not ideal. During
an animation, elements can fade in and out, at a
perticular scroll position the heading might not
be very eligible.
2025-10-16 18:24:03 +08:00
Glen Huang
9c5b0ed077 docs-site: fix scrolling when toggling global nav 2025-10-14 15:49:18 +08:00
Glen Huang
0dad11ffcf docs-site: add enter animation 2025-10-14 13:06:04 +08:00
Glen Huang
9144f5a3cd docs-site: fix toc 2025-10-14 10:35:22 +08:00
Glen Huang
f66b96c102 docs-site: prevent scrolling when global bar menu is displayed 2025-10-13 23:06:05 +08:00
Glen Huang
7d3972b993 docs-site: prettier global bar 2025-10-13 22:53:38 +08:00
Glen Huang
d61a042b76 docs-site: fix toc update on scroll 2025-10-13 22:44:05 +08:00
Glen Huang
2f05eccace docs-site: fix link migration 2025-10-10 15:27:06 +08:00
Glen Huang
8779dc07f0 docs-site: refactor admonition 2025-10-10 14:01:22 +08:00
Glen Huang
ae6eb1a822 docs-site: fix md 2025-10-10 13:30:25 +08:00
Glen Huang
57c91c3da3 docs-site: fix shiki highlighting 2025-10-10 13:30:10 +08:00
Glen Huang
c5a8765a65 docs-site: fix toc 2025-10-10 13:20:35 +08:00
Glen Huang
5ec14e51d4 docs-site: implement prev and next 2025-10-10 12:47:58 +08:00
Glen Huang
a4cc333533 docs-site: implement site search 2025-10-10 11:10:52 +08:00
Glen Huang
5299fe7259 site: fix nav 2025-10-10 10:59:54 +08:00
Glen Huang
e6a9bcbb69 site: fix admonition 2025-10-10 10:18:23 +08:00
Glen Huang
b46f841257 site: fix nav 2025-10-10 10:01:11 +08:00
Glen Huang
14847ba846 site: fix rendering 2025-10-10 09:58:49 +08:00
Glen Huang
6eb4c4c1e9 site: implement toggling toc 2025-10-10 07:51:11 +08:00
Glen Huang
520c926d6d site: implement heading to toc movement 2025-10-10 07:36:32 +08:00
Johannes Kirschbauer
1205f74f87 docs-site: fix devshell and nix build 2025-10-08 14:53:18 +02:00
Glen Huang
9b392b66ee docs: move sites to pkgs/docs-site 2025-10-08 14:53:18 +02:00
Glen Huang
4e37f53b7a site: show code line numbers conditionally 2025-10-08 14:53:18 +02:00
Glen Huang
8eec4c89c5 site: implement global bar nav toggling 2025-10-08 14:53:18 +02:00
Glen Huang
9812d4114f site: render docs nav both in global nav and docs sidebar 2025-10-08 14:53:18 +02:00
Glen Huang
6d622f7f68 site: use postcss-preset-env and cssnano 2025-10-08 14:53:18 +02:00
Glen Huang
c62995f91f site: use svelte auto adapter 2025-10-08 14:53:18 +02:00
Glen Huang
7f0e6d74e6 site: rename nav link type 2025-10-08 14:53:18 +02:00
Glen Huang
bf46ea1ebb site: refactor doc utils 2025-10-08 14:53:18 +02:00
Glen Huang
4ba722dd36 site: refactor link mgration 2025-10-08 14:53:18 +02:00
Glen Huang
61baf0f6c3 site: parse markdown only once 2025-10-08 14:53:18 +02:00
Johannes Kirschbauer
c252dd7b47 site: automatically transform mkDocs links 2025-10-08 14:53:18 +02:00
Johannes Kirschbauer
4aa01a63dc site: add autogenerated section support 2025-10-08 14:53:18 +02:00
Glen Huang
8030b64cdb site: add mobile support 2025-10-08 14:53:18 +02:00
Glen Huang
cbe7e27f91 site: add link support to doc nav bar 2025-10-08 14:53:18 +02:00
Glen Huang
d1e59fedb1 site: add toggle support to docs navLink 2025-10-08 14:53:18 +02:00
Glen Huang
b3dd1c4a46 site: implemenet docs navLink 2025-10-08 14:53:18 +02:00
Glen Huang
6614138fb8 site: use three column layout 2025-10-08 14:53:18 +02:00
Johannes Kirschbauer
92f87e169c site: copy content to new site 2025-10-08 14:53:18 +02:00
Glen Huang
a451946ab4 site: remove admonition ul styles 2025-10-08 14:53:18 +02:00
Glen Huang
c7a1d7ce29 site: use three column layout 2025-10-08 14:53:18 +02:00
Glen Huang
0e06ce3cca site: extract the markdown plugin into its own file 2025-10-08 14:53:18 +02:00
Glen Huang
1bb1b966d6 site: extract md css into files 2025-10-08 14:53:18 +02:00
Glen Huang
db98d106a1 site: change md export 2025-10-08 14:53:18 +02:00
Johannes Kirschbauer
a40c6884d9 site: admonitions custom title with icons 2025-10-08 14:53:18 +02:00