Commit Graph
45 Commits
Author SHA1 Message Date
Charis bd0e979f8c fix: search index upload (#32904)
Search index pipeline shouldn't be trying to read troubleshooting section yet (those are still searched via GH discussions). Trying to read it errors as they don't have the same frontmatter shape as other guides content.
2025-01-19 00:31:40 +08:00
Charis 5d2bdc9efb refactor(docs): move last pages over to app router (#29293)
The end of the Great Migration is here!!!

Moves the last pages over, deleting pages like the FAQ that we don't use
and that contain duplicated information anyway.

Dev secret auth page URL had to change as App Router doesn't like the
leading underscores in the path.

Also fixes the not-found recommendations to use the proper Next.js
not-found page so it will return a 404 as it should. (I was under the
erroneous impression that I couldn't get the pathname in not-found.tsx,
that is not true, so this works better.)
2024-09-13 13:28:15 -04:00
Kevin Grüneberg 3601bb52f5 chore: use type imports / avoid unnecessary API type export (#28088) 2024-07-19 18:35:23 +08:00
Ivan Vasilov a63731bbf8 chore: Bump turbo to v2 (#27182)
* Bump the version of turbo to 2.0.3.

* Fix the breaking changes in turbo config.

* Make the npm version more loose.

* Fix the build command for the database-design app.

* Try adding some env vars to the turbo for www.

* Add more missing env vars.

* Bump the turbo version to 2.0.4.

* Remove SUPABASE_SERVICE_ROLE_KEY from docs#build since it's used by other scripts, not by build.
2024-06-18 12:32:36 +02:00
Charis 0c1ab7e2e5 refactor: factor out markdown processing utils (#26729) 2024-06-04 14:00:24 -04:00
Hieu d855bfb3f8 feat: automate mgmt api spec update (#26655)
* fix: correct mgmt api naming

* feat: new command to generate mgmt api sections

* feat: sort section items

* chore: tidy up

* fix: add generate sections to the default command

* feat: add gha to auto update mgmt api docs

* chore: tidy up

* fix: operationId logic to support self-hosting references

* chore: update latest mgmt api specs

* chore: update latest mgmt api specs
2024-05-31 08:53:19 +07:00
Terry Sutton a5d00f9923 Chore/rename open ai key name (#21856)
* Rename OPENAI_KEY to OPENAI_API_KEY

* Force a redeploy
2024-04-25 09:38:56 -02:30
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
Kevin Grüneberg f7e60bf324 chore: upgrade prettier/eslint + autofix (#20785) 2024-01-30 10:54:02 +08:00
CharisandGreg Richardson d6234f823a fix: include integrations in our search indexes (#20709)
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2024-01-26 15:20:54 -05:00
Kevin Grüneberg 129b3d927a chore: move specs to docs folder (#20136) 2024-01-03 18:54:23 +01:00
Guilherme Souza 4ff8e11936 Add documentation for Swift v2 and update user management example to use Swift v2 (#19752) 2023-12-15 09:56:53 +08: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
Charis b9b7595290 fix: fix labelling for management api search items (#19488) 2023-12-06 22:30:41 -05:00
Charis 6c4311f723 fix: improve docs search ux and result rankings (#19450)
Improve the way docs are indexed and FTS results are ranked, so results are more relevant.

Also improve debouncing and searching UX so it feels a bit faster and you can scan the results more easily.
2023-12-06 12:27:33 -05:00
Ivan Vasilov e32b146bc1 chore: Bump the OpenAI lib version to v4 in the docs app (#19253)
Bump the OpenAI lib version to v4 in the docs app.
2023-11-27 21:23:05 +01:00
Tyler 1442e42b0a docs: update Kotlin docs to v1.0 (#18932)
* update kotlin docs version number to v1.0

* renaming client to supabase for the installing kotlin guide
2023-11-14 10:54:26 +08:00
Guilherme SouzaandTyler fe7494f804 docs: update Swift docs for v1 release (#18682)
* docs: update auth section for Swift

* docs: fix wrong md for code section

* docs: update fetch data section for Swift

* docs: update insert data section docs for Swift

* docs: update using filter section

* docs: update modifier, filters and edge functions sections

* docs: update realtime section

* docs: update storage section

* docs: fix examples not building

* docs: add entry for rpc call with filters

* Update spec/supabase_swift_v1.yml

* Update spec/supabase_swift_v1.yml

---------

Co-authored-by: Tyler <18113850+dshukertjr@users.noreply.github.com>
2023-11-09 20:03:18 +09:00
Kevin Grüneberg fb48035ab6 chore: use node parseArgs instead of minimist (#18683) 2023-11-03 17:02:34 +01:00
Greg Richardson 42d88eef6a fix(doc-embeddings): minimist import 2023-09-19 10:39:24 -06:00
Kevin Grüneberg 0f576e93e2 chore: remove unused docs dependencies 2023-09-14 19:40:50 +02:00
Alaister Young 788e899e6a Merge branch 'master' into chore/upgrade-to-node-18 2023-06-05 15:33:02 +10:00
sd0 b752c82bf5 feat(docs): add yargs 2023-05-30 08:20:34 +08:00
Alaister Young 0ecf4b65f1 fixes studio and www builds 2023-05-29 14:42:50 +10:00
Greg Richardson 1c0da103c9 fix(embeddings): remove custom anchor from heading 2023-05-11 13:24:18 -06:00
Greg Richardson 36aa0cc187 fix(embeddings): custom heading slugs 2023-05-11 12:26:27 -06:00
Greg Richardson 96bb86c868 fix(prettier): kotlin docs 2023-05-10 16:53:47 -06:00
Jan Tennert a00e06cddb Merge remote-tracking branch 'supabase/master'
# Conflicts:
#	apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx
2023-05-10 17:25:32 +02:00
Greg Richardson 290ed9c406 fix(embeddings): reference doc typings 2023-05-08 14:08:57 -06:00
Greg Richardson 0a4700f2a1 refactor: simplify reference docs nav menu & code split 2023-05-08 12:46:33 -06:00
Jan Tennert c12277b864 Initial commit 2023-05-07 19:55:08 +02:00
Greg Richardson 8de421d3a5 feat: update sitemap to only include latest lib versions 2023-05-03 15:22:44 -06:00
Greg Richardson 7fd4180325 fix(embeddings): github discussions ci 2023-04-25 11:38:02 -06:00
Greg Richardson 66d61738f5 fix(embeddings): github discussions slug 2023-04-24 18:23:55 -06:00
Greg Richardson ef2753cab2 feat(embeddings): github app auth 2023-04-24 17:49:00 -06:00
Greg Richardson 8455437243 Merge branch 'feat/zero-downtime-embeddings-refresh' into feat/ingest-github-discussions-for-search 2023-04-24 14:46:34 -06:00
Greg Richardson 19584f8647 chore(embeddings): add log when removing old pages 2023-04-24 14:37:22 -06:00
Greg Richardson 59caf7d1dd fix(embeddings): twilio meta export 2023-04-21 16:32:49 -06:00
Greg Richardson 0f064cb584 fix(embeddings): missing fields when updating/upserting pages 2023-04-21 15:38:45 -06:00
Greg Richardson 60953ee066 feat(embeddings): zero downtime refresh 2023-04-21 14:53:13 -06:00
Greg Richardson 6c373f8313 fix(embeddings): missing github access token env var requirement 2023-04-21 13:13:35 -06:00
Greg Richardson e8a0a908de feat(search): ingest github discussions 2023-04-20 19:53:19 -06:00
Greg Richardson 67c041877d fix: type error 2023-04-20 19:40:55 -06:00
Greg Richardson 1ff754b879 chore: remove algolia build-search script 2023-04-20 17:49:20 -06:00
Greg Richardson 0ff1759dd2 refactor(search): split sources into their own files 2023-04-20 17:37:01 -06:00