Commit graph

4 commits

Author SHA1 Message Date
Kévin Commaille 1bc409e222
Merge branch 'main' into no-canonifyurls 2024-11-13 18:41:00 +01:00
Kévin Commaille e9914bf9bb
Move most assets from /static to /assets
Allows to only serve the file that we actually use.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-11-13 18:39:36 +01:00
Kévin Commaille b1f66d1b71
Improve the JS script to highlight the current ToC entry (#1991)
The code relied on an IntersectionOberver, so the ToC was only updated when a heading was in the viewport.
It meant that if we jumped to a part of the text that has no heading, the ToC would still point to the old entry.

The new code looks for the correct heading when the view is scrolled so the correct entry is always selected.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-11-12 22:53:46 +00:00
Will 55eae7b70b
Render a single page of the spec in Hugo 2021-01-12 15:31:01 -08:00