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
fce82b0bdf
Cleanup
2023-01-09 12:40:40 -03:30
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
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
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
Terry Sutton
927a002817
Fix type errors
2022-12-07 17:29:22 -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
f49c8e5105
Cleanup
2022-12-07 16:03:55 -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
53370ee5cb
moved all the reference pages
2022-12-02 17:57:55 +08:00