32 Commits
Author SHA1 Message Date
Danny White a649e69e07 feat(docs): adopt shared inline code defaults in docs and kb (#51982)
## Problem

Docs and KB style inline code separately from the other apps.

## Solution

Import the shared styles from #51980 in both apps. Remove duplicate Docs
styling and renderers that only add styles. Keep code annotations, table
headers that do not wrap, and word wrapping in the first table column.
Other long values wrap only when needed.

## Review instructions

1. Open the [API keys
guide](https://docs-git-dnywh-depr-707-code-docs-kb-supabase.vercel.app/docs/guides/getting-started/api-keys).
Check the bold introduction and “Legacy `anon` and `service_role` keys”
heading. Code should use the default foreground colour and match the
surrounding weight. Identifiers should stay intact when they fit on the
next line.
2. Check code in links and tables at narrow widths. Code blocks,
annotations, highlighting and copy controls should still work.
3. Open [Migrate from
Postgres](https://kb-git-dnywh-depr-707-code-docs-kb-supabase.vercel.app/kb/guides/migrate-from-postgres)
in KB. Check inline code and code blocks in both themes.

| Before | After |
| --- | --- |
| <img width="1232" height="376" alt="CleanShot 2026-10-19 at 14 10
09@2x"
src="https://github.com/user-attachments/assets/27079b1a-2856-4e99-bb05-adb89e7f27c2"
/> | <img width="1250" height="380" alt="CleanShot 2026-10-20 at 15 35
36@2x"
src="https://github.com/user-attachments/assets/9d98e18b-bec7-4595-84c6-9b2b7b3a5cd6"
/> |
| <img width="736" height="626" alt="CleanShot 2026-10-20 at 15 17
21@2x"
src="https://github.com/user-attachments/assets/3d4dedee-11f4-44fa-b2fa-3aafefa5f0fb"
/> | <img width="724" height="608" alt="CleanShot 2026-10-20 at 15 35
12@2x"
src="https://github.com/user-attachments/assets/ac220f58-d904-40f5-8d6b-cdb36fd7c76d"
/> |
| <img width="1476" height="844" alt="CleanShot 2026-10-20 at 15 37
32@2x"
src="https://github.com/user-attachments/assets/5eab79cd-dc99-4c38-b410-9caa91dd6a88"
/> | <img width="1484" height="864" alt="CleanShot 2026-10-20 at 15 38
00@2x"
src="https://github.com/user-attachments/assets/4517cf02-4336-4183-a4d7-d0c4965f3ba8"
/> |
| <img width="988" height="788" alt="CleanShot 2026-10-20 at 16 27
22@2x"
src="https://github.com/user-attachments/assets/fc0aee4b-6da8-4ec0-84a9-392df6b8491b"
/> | <img width="974" height="794" alt="CleanShot 2026-10-20 at 16 27
01@2x"
src="https://github.com/user-attachments/assets/c1383927-6b5a-47b6-bd54-b986cee33cc3"
/> |
| _This last one just shows that annotation tags are unchanged_ |
_Though perhaps them and these backticks should be addressed at some
point_ |
2026-10-22 00:48:56 +00:00
Ivan Vasilov bbfccdf471 chore: Use @/* as an alias for importing in-package files (#41607)
* Remove extra file.

* Remove unneeded tsconfig.jsons.

* Add @/* alias for importing in-package files to all apps.

* Remove baseUrl from all apps except studio (it'll require changes in almost all files).

* Fix baseUrl issues in docs, ui-library and design-system.

* Fix the typecheck for cms app. Fix all baseUrl errors in the cms app.

* Add deprecated flag to baseUrl in www.
2025-12-30 17:46:24 +01:00
Charis 33b9e1ed29 chore(docs): convert all scripts to esm (#35996)
Scripts currently use CJS, which is causing a bit of a mess when trying
to use shared utilities from the app. Converting everything to ESM so
there are fewer conflicts when adding new scripts going forward.
2025-05-29 15:44:55 -04:00
Kevin Grüneberg 3601bb52f5 chore: use type imports / avoid unnecessary API type export (#28088) 2024-07-19 18:35:23 +08:00
Einshine || ShineandCharis 66b4da7e3e Minor PR: removed console logs nothing else (#22182)
Update api.ts

just removed some dead console logs : )

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-25 12:46:10 +00:00
Joshen Limandgithub-tidy-bot 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
Kevin Grüneberg 129b3d927a chore: move specs to docs folder (#20136) 2024-01-03 18:54:23 +01:00
Kevin Grüneberg 542fb06f23 chore: remove ts-node (use tsx) (#18703) 2023-11-03 17:31:39 +01:00
Kevin Grüneberg fb48035ab6 chore: use node parseArgs instead of minimist (#18683) 2023-11-03 17:02:34 +01:00
Greg Richardson 7aede7ec1f fix: type error in legacy generator 2023-09-19 10:56:51 -06:00
Kevin Grüneberg 0f576e93e2 chore: remove unused docs dependencies 2023-09-14 19:40:50 +02:00
Greg Richardson ed8798e60c chore(docs): lodash tree shaking 2023-05-04 17:54:45 -06:00
Inian 65ad033e52 fix: slugify function 2023-04-10 11:54:44 +08:00
Jonathan Summers-Muir 277c568a4d CLI fixes 2022-12-12 18:41:25 +08:00
Jonathan Summers-Muir 2ad16dcbc5 fix formatting on old docs 2022-12-12 17:59:26 +08:00
Terry Sutton 42bcd86625 Fix generator 2022-12-08 13:08:44 -03:30
Terry Sutton 600ae9d9db Remove unneeded slashes before url path 2022-12-07 15:55:31 -03:30
Terry Sutton 36f074942a Fix legacy generator 2022-12-07 14:44:46 -03:30
Terry Sutton a069fab32b Add preamble files to top of ref 2022-12-06 09:55:05 -03:30
Terry Sutton 0f131da66e Add new temp client lib spec files, update generator 2022-12-02 10:52:42 -03:30
Terry Sutton aff740b08a Start Storage api file 2022-11-24 17:54:49 -03:30
Jonathan Summers-Muir 1870573373 Merge branch 'master' into feat/docs2.0 2022-11-24 09:49:00 +08:00
Terry Sutton b9f6a6d8ed Fix cli custom heading anchors 2022-11-23 10:12:18 -03:30
Terry Sutton 4ce05f606f Merge branch 'master' into feat/docs2.0 2022-11-22 12:24:21 -03:30
Terry Sutton 927e624ef6 Change the format of anchor links 2022-11-22 09:52:50 -03:30
Terry Sutton f29223c4b4 Fix custom heading links in mdx files 2022-11-21 16:50:35 -03:30
Jonathan Summers-Muir b97eb16108 Merge branch 'master' into feat/docs2.0 2022-11-16 20:43:20 +08:00
Terry Sutton e120471d01 Add realtime section back 2022-11-11 10:27:56 -03:30
Jonathan Summers-Muir c107c5df19 add codehike, some basic parameters to ref docs, and some other stuff 2022-11-10 01:15:59 +08:00
dannykng f8d6f2ded7 Merge branch 'master' into docs/backlog 2022-11-03 14:13:13 -07:00
Joshen Lim 986cccb9b1 Rename temp docs to docs 2022-11-03 20:40:03 +07:00