Commit Graph
40 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
TylerandCharis c0cf4b114c docs: remove dart v0 and add dart v2 (#19269)
* remove dart v0 and add dart v2

* consolidate google and apple login docs to id token login

* add realtime ref docs

* adds auth update guide

* wrap up upgrade guide

* run prettier

* run prettier

* update presence methods

* udpate presence upgrade guide

* Apply suggestions from code review

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

* update is and in filter

* additional update after receving the review comments

* fix code formatting

* fix indents

* formatted the code

* update indentation

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2023-12-07 14:16:33 +09:00
Greg Richardson 2a798515ba Merge branch 'master' into feat/client-lib-version-sticky-warning 2023-05-11 16:51:44 -06: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
Greg Richardson 7bb8cfd998 feat: sticky warning when viewing old client lib version 2023-05-03 17:51:43 -06:00
Terry Sutton 1fbdb60559 Fix missing crawler pages, missing h1 tags 2023-01-27 16:07:06 -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
Terry Sutton bd2bd2c52f Add NextSEO to refdocs crawler files 2022-12-16 15:35:47 -03:30
Terry Sutton 1e242b16cf Add crawler slugs for all libs 2022-12-11 10:30:27 -03:30
Jonathan Summers-Muir bd0514553c changed yaml files 2022-12-11 15:00:22 +08:00
Jonathan Summers-Muir e973fc86f6 optimized pages. ref pages now a lot smaller 2022-12-08 22:58:36 +08:00
Jonathan Summers-Muir 2c3b12cb5a remove old code. fix build 2022-12-08 21:41:49 +08:00
Jonathan Summers-Muir 2cba3a9754 fix dart ref 2022-12-08 21:16:02 +08:00
Terry Sutton cdc6df947c Rename collapse component 2022-12-07 16:40:43 -03:30
Terry Sutton f47c9f9443 Remove old libspec files 2022-12-07 16:26:40 -03:30
Terry Sutton 06a6ad50ef Fix issue when no examples 2022-12-07 16:24:36 -03:30
Terry Sutton e8c01e5fb9 Directly import RefDetailCollapse 2022-12-07 16:08:05 -03:30
Terry Sutton 66d9887f05 Fix ReferenceDetailCollapse 2022-12-07 13:17:43 -03:30
Terry Sutton dd0c6ea9c6 Load intro pages in a single column 2022-12-07 11:09:10 -03:30
Terry Sutton 7a278e2411 Filter menu items by current lib 2022-12-07 00:28:42 -03:30
Terry Sutton 7b72a2f4a4 Fix anchor slugs 2022-12-06 23:25:56 -03:30
Terry Sutton 86fc7506ee Fix item highlighting 2022-12-06 22:33:04 -03:30
Terry Sutton e6a80df16c Wire up dartv0 2022-12-06 21:20:24 -03:30
Terry Sutton 747a259a7b Fix dart ref items 2022-12-06 18:29:39 -03:30
Terry Sutton 5fe9795c29 Make scrollspy header conditional 2022-12-05 21:31:08 -03:30
Terry Sutton 659e19c44c Replace shortext with reactmarkdown 2022-12-05 12:50:27 -03:30
Terry Sutton 5f0da6d3bc Fix dart titles 2022-12-05 12:33:40 -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 fe9c513e1c Merge branch 'feat/docs2.0' of https://github.com/supabase/supabase into feat/docs2.0 2022-12-05 10:11:09 +08:00
Jonathan Summers-Muir aa78dbd181 issues viewing pages in old layout 2022-12-05 10:11:07 +08:00
Terry Sutton f56e76bca1 Add dart v0 version 2022-12-04 21:39:35 -03:30
Terry Sutton 2fb75d56b3 Broken jsx return 2022-12-04 21:26:05 -03:30
Terry Sutton 4670cd5ce5 Fix dart ref doc 2022-12-04 21:22:12 -03:30
Terry Sutton 180d1e5146 Use common file as the source of the slug for reference links 2022-12-02 11:30:44 -03:30
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