Commit Graph

16 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
Greg Richardson
695b00c0ce chore(docs): yaml import types 2023-05-04 18:48:08 -06:00
Terry Sutton
e3da1e72bf Cleanup getStaticProps 2023-01-06 16:02:02 -03:30
Jonathan Summers-Muir
bd0514553c changed yaml files 2022-12-11 15:00:22 +08:00
Jonathan Summers-Muir
f62a36531b move all refs into new page format. tidied up CLI and API ref 2022-12-09 17:50:55 +08:00
Jonathan Summers-Muir
d079e08d67 remove redundant things 2022-12-09 01:54:58 +08:00
Jonathan Summers-Muir
1d2fb94304 start moving CLI to new setup 2022-12-08 23:54:26 +08:00
Terry Sutton
c2429a6fb1 Add realtime and storage specs 2022-12-07 21:09:56 -03:30
Terry Sutton
fba018b9e4 Add preamble files to top of ref for cli and api 2022-12-07 17:23:13 -03:30
Terry Sutton
5fe9795c29 Make scrollspy header conditional 2022-12-05 21:31:08 -03:30
Jonathan Summers-Muir
72f4df1418 issues displaying new ref docs when on wrong route 2022-12-05 10:33:28 +08:00
Jonathan Summers-Muir
27d953d9ba fix builds. fix old pages not rendering 2022-12-02 21:39:21 +08:00
Jonathan Summers-Muir
53370ee5cb moved all the reference pages 2022-12-02 17:57:55 +08:00