Commit Graph

13 Commits

Author SHA1 Message Date
Charis 12152c3345 chore(docs): clean dead code (#34021)
Remove unused components in docs.
2025-03-05 12:29:33 -05:00
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
Charis e20038e2f2 refactor: move auth guides into content directory (#20777)
Begin the process of moving our MDX files into their own content directory.

Fixed a few minor bugs re: ToC and tabs not rerendering consistently on page navigation. (The ToC thing wasn't a problem before the refactor, the tabs thing is a problem on prod.)

Moved MDX files can't import their own components, so everything they require needs to be back in the component prop for mdx-remote's serializer. Cleaned this up a bit and lazy-loaded heavy/rare stuff. Also, the component prop doesn't take arbitrary objects (only actual components), so imported data has to be wrapped in a component.
2024-02-07 17:25:08 +00:00
Youssef Bentaleb efd45d7dc6 🐞 fix: edit page link on wrapper broken 404 (#18700)
* 🐞 fix: edit page link on wrapper broken 404

* Update apps/docs/layouts/guides/index.tsx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Chris Gwilliams <517923+encima@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-01-25 16:01:28 +00:00
Jonathan Summers-Muir 96ca5f09cc chore: update footer component to change content. 2023-02-01 21:30:19 +08:00
Terry Sutton 3d276ea9eb Restore old slug, 404 page 2022-12-08 12:34:59 -03:30
Jonathan Summers-Muir 4316e9629c moved all guides to be on /docs. removing the temp path 2022-11-21 19:12:54 +08:00
Jonathan Summers-Muir 6c4bca8f0e started prepping for old vs new docs setup 2022-11-21 16:05:03 +08:00
Terry Sutton a63b72a8b8 Add next seo 2022-11-16 12:20:42 -03:30
Terry Sutton 7f3048be82 Move ref docs back to docs,again 2022-11-16 09:39:46 -03:30
Terry Sutton 994c4f2718 More files 2022-11-15 18:01:41 -03:30
Terry Sutton 3b85e6933f Update 2022-11-15 12:31:04 -03:30
Terry Sutton 0ed3222100 Move all guides 2022-11-15 08:41:44 -03:30