Partials are currently defined via MDX includes. This PR switches to pre-compile-time partials, which have a new syntax:
```
<$Partial path="path/to/file.mdx" />
```
## Rationale
This produces two improvements:
1. Partial substitution can occur in pipelines that don't use MDX compilation. For example, we can now do partial substitution before building the search index, so partial content will also be indexed.
2. After the App Router migration, the MDXProviders should've been deprecated, but were kept around for the sole reason of making partials work, and leading to us shipping unnecessary client-side code. We get a minor decrease in overall client bundle size (5.74 MB to 5.6 MB) by getting rid of the Providers.
## Breaking changes
Besides the change to partial syntax, the arguments are also less powerful than before because we are doing string substitution and don't have the full power of JS. Defining string variables is still possible (documented in the Contributing guide), and since that's all we actually do in practice, this shouldn't be too cumbersome. There is always the escape hatch of making a custom component for more complex content reuse cases.
* fix: consistent disk unit
* Update apps/docs/content/guides/platform/manage-your-usage/disk-throughput.mdx
* Update apps/docs/content/guides/platform/manage-your-usage/disk-throughput.mdx
* Update apps/docs/content/guides/platform/manage-your-usage/disk-throughput.mdx
* docs: makes use of singular/plural for metrics that are billed hourly consistent.
* ci: Autofix updates from GitHub workflow
* fix: instance is Mbps
* fix: description Mbps
---------
Co-authored-by: Thomas <31189692+ecktoteckto@users.noreply.github.com>
Co-authored-by: github-tidy-bot <github-tidy-bot@supabase.com>
- Adds Clerk as third-party auth provider, behind feature flags for future release
- Adjust pricing according to new pricing RFC
- Remove paid plan feature gatekeeping
* deleted all old pages except from FAQs
* added pricing section to feature docs pages
* adjusted all links to new pages (on Dashboard, in docs, on Pricing page)
* configured redirects from old billing docs pages to new pages
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Instead of basing the database size metric for the Free Plan on summing up the average database size per project in the organization, we are going to simply enforce a database size limit of 0.5 GB per active project. Deleted projects are irrelevant and it should be much easier for customers to understand. We are querying the database size directly via the project to avoid delays.
* Overhaul of Migrate within Supabase
* Added sub menus for overhaul of Migrate within supabase
* Re-structuring of content and pages
* Re-organize flow of the guide
* Prettier fix and small additions to dashboard restore guide
* update CLI guide to have dummy data for now
* Add structure for Windows specific instructions
* Add Postgres installation as partial
* Full first draft
* fix headings in main page
* Fix vale issues
* Proofread #1
* Small fixes
* Editing pass
* More edits after first tests.
* Final editting pass after testing
* Add common issues I ran into while testing and fixed installation instructions for MacOS
* Editing pass after more testing and proofreading
* Grammar fixes
* attempt at vale fixes
* Add tip for windows installation
* edits
* Fix dashboard restore hyperlink
---------
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
The purpose of this change is to reduce the bounce back rate of
the default email provider at Supabase. This change will allow
users to continue copying examples from the docs. Without it, an
upcoming change in supabase/auth[1] will begin rejecting these
invalid emails.
[1] https://github.com/supabase/auth/pull/1845
Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
* docs: restore to new project docs and blog
* Add Paul C to the authors.
* chore: update blog text and make paul and engineer
* docs: minor updates to r2np blog text
* docs: a few more refinedments for the r2np blog entry
* chore: update positions
* chore: partially revert
* docs: updates to r2np docs and blog
* docs: last updates to r2np blog entry
* image update
* docs: minor update to blog wording for r2np
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Paul Cioanca <paul.cioanca@supabase.io>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
* chore: clarify read-only role database permissions
Access control docs list the dashboard and API permissions for the
read-only role. These are distinct from the database permissions, which
are fully read-only.
* fix: spelling
* Updated compute and disk documentation to better reflect the state of compute and disk customization in the updated dashboard
* Update apps/docs/content/guides/platform/compute-and-disk.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* update disk docs
* update docs
* Removed burst from documentation and added table to better outline differences between io2 and gp3 disk types
* Deleted compute and disk simple
* added more consistency to naming conventions, polished some design elements, removed redundant text
* Added limits section. Moved connection info from first table to the limits section table
* updated disk names, moved limits to the bottom of the file
* resolved merge conflict
---------
Co-authored-by: Greg Papas <gregpapas@macbook-pro.mynetworksettings.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Inian <inian1234@gmail.com>
* Updated compute and disk documentation to better reflect the state of compute and disk customization in the updated dashboard
* Update apps/docs/content/guides/platform/compute-and-disk.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* update disk docs
* update docs
* Removed burst from documentation and added table to better outline differences between io2 and gp3 disk types
* Deleted compute and disk simple
* added more consistency to naming conventions, polished some design elements, removed redundant text
* Added limits section. Moved connection info from first table to the limits section table
* prettier
---------
Co-authored-by: Greg Papas <gregpapas@macbook-pro.mynetworksettings.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Inian <inian1234@gmail.com>
* Chore: Clarify Disk Metrics in the doc
* Add note about Disk size
* consolidate terms to disk and database size
* fix vale comments
* Update database-size.mdx
* Update database-size.mdx
---------
Co-authored-by: Inian <inian1234@gmail.com>