Commit Graph

77 Commits

Author SHA1 Message Date
Charis
46a0e80a10 feat: llms.txt (#33780)
* feat: llms.txt

* feat: split llms.txt into multiple files

We have too many docs, so the concatenated text file uses an unreasonable amount of tokens. Chunk it up a little so it's more usable.
2025-02-24 15:18:51 -05:00
Charis
a255acb5ea chore: add auto-troubleshooting-template to local dev (#33128)
Small DX improvement for writing troubleshooting guides. When a new troubleshooting guide is created, it is auto-populated with the tempalte (as long as docs dev is running).
2025-01-27 21:29:29 +00:00
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
41d924b074 feat: new docs ia (#29364)
New Docs IA, mainly splitting up the miscellaneous bucket that is Platform into multiple sections
2024-10-09 12:38:34 -04: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
Charis
66e363e29d fix: last-changed script to handle toml frontmatter (#29208)
toml frontmatter was introduced in the troubleshooting entries, script
needed to be adapted to handle it
2024-09-13 09:35:27 -04:00
Kevin Grüneberg
3601bb52f5 chore: use type imports / avoid unnecessary API type export (#28088) 2024-07-19 18:35:23 +08:00
Francesco Sansalvadore
0d657df42e feat: docs global top nav (#26917)
Docs global top nav
2024-07-04 11:51:13 +02: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
72fd929346 fix: minor fixes for last-changed script (#27100)
- Remove the cleanup function. (Too much potential for concurrently
  running workflows to stomp all over each other. This should run in a
  separately scheduled task that locks the table for cleanup.)
- Exit with error code if updates error so problem will show up in
  Action notifications.
2024-06-12 09:44:35 -04:00
Charis
c281dd0eb1 ci(docs): update last_changed table action (#27038)
Keeps track of fine-grained (per section) edit times for docs content.

Once daily, a GitHub Action runs that:

- Checks whether content hashes have changed for each section
- Updates the table that tracks content edit times if the hashes have changed

Note: The cron job isn't scheduled yet. I'll run the Action manually a few times to validate it, then turn it on in another PR.
2024-06-06 15:20:05 -04:00
Charis
cb8b43ff8e feat(docs): track last-changed date (#27016)
Add a table to track the last-changed date for docs content, and a
script to seed the database with last-changed dates based on Git commit
dates.
2024-06-05 09:51:45 -04: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
7e8c07227b fix: cleanup orphan pages (#23200) 2024-04-23 16:16:57 -04:00
Charis
b0b8b6b6e3 refactor: finish moving mdx to content directory (#21321) 2024-02-16 13:43:02 -05:00
Charis
42723d8232 refactor: move ai, realtime, functions, remaining auth docs to content directory (#21259) 2024-02-14 17:39:05 +00:00
Charis
df92331a3b refactor: move storage docs into content directory (#21129) 2024-02-14 13:28:39 +00: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
Joshen Lim
30245c9490 Revert "Feat/sql editor support bulk deletes" (#21003)
* Revert "Feat/sql editor support bulk deletes (#20927)"

This reverts commit 27c2cff395.

* ci: Autofix updates from GitHub workflow

* Lint

---------

Co-authored-by: github-tidy-bot <github-tidy-bot@supabase.com>
2024-02-05 14:01:24 +11:00
Kevin Grüneberg
f7e60bf324 chore: upgrade prettier/eslint + autofix (#20785) 2024-01-30 10:54:02 +08:00
Charis
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
Charis
85f128eae2 add codemod to convert meta export to yaml frontmatter (#20585) 2024-01-22 11:59:16 -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
Tyler
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 Souza
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