Commit Graph

8 Commits

Author SHA1 Message Date
Charis
7cf2eae953 fix: statically build the right nav on each page (#21469)
Before: All pages have the Home nav menu in static HTML, which is blown away and replaced by the proper nav menu upon hydration. This leads to jankiness when the page first loads and an unpleasant flash of the wrong nav menu (especially obvious on the JavaScript ref page, which takes a long time to process and rerender the nav).

Now: All pages have their correct nav menu in static HTML.
2024-02-23 11:38:06 -05:00
Kevin Grüneberg
129b3d927a chore: move specs to docs folder (#20136) 2024-01-03 18:54:23 +01:00
Greg Richardson
a2e2cc558f fix: getStaticPaths() slug for ref docs 2023-05-10 10:39:52 -06:00
Greg Richardson
875bfab1b8 fix: generate static page for each ref doc path 2023-05-09 16:10:32 -06:00
Terry Sutton
8d4717814b You get a type, and you get a type, and you get a type 2023-01-09 12:35:59 -03:30
Terry Sutton
e3da1e72bf Cleanup getStaticProps 2023-01-06 16:02:02 -03:30
Jonathan Summers-Muir
f37051b293 add more support for self hosting ref docs 2022-12-10 23:58:32 +08:00
Jonathan Summers-Muir
cdea618c37 ref sidebars now a bit more clever and will only show what is in the lang AND version selected 2022-12-10 20:25:55 +08:00