Add the ability to embed code samples from GitHub into tutorials, so we can have a single source of truth for the source code.
Introduces the <$CodeSample /> syntax, which is a special syntax and not a real React component (see the directives/README.md for why on earth I did it this way -- in this specific case, CodeHike adjusts the MDX syntax tree before it gets compiled, and we need to adjust it ourselves before CodeHike sees it, so we need to get down to the level of manipulating the AST in order to make this work with CodeHike).
Adjusted one of the example tutorials to use this new feature as a test.
* docs: add updated auth custom smtp docs
* apply suggestion from @J0
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
* final suggestions
* add info about ssr
---------
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
* docs: update custom domain docs for verification process
* fix: ensure the ui experience for custom domains matches the flow
* chore: prettier formatting fixes
* docs: only reference a single txt record for custom domains
* fix: drop undefined from dns table type
* automatically poll for custom domain ssl status
* Minor UI tweaks
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* chore: max io2 disk size to 60 TB
* chore: update docs about max disk size
* Update validation for disk type
* Update compute-add-ons.mdx
* Prettier
* chore: fix conditional for max disk size
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* Docs: update Disk Management guide with the new IO configuration
* add disk mgmt image
* Update compute-add-ons.mdx
* Update volume size for io2 to 60TB
* New screenshot for disk mgmt
* Add caution on Update Policy section for need to create Select Policy
* Update apps/docs/content/guides/database/postgres/row-level-security.mdx
---------
Co-authored-by: bulut yerli <bulut@buluts-Mac-mini.local>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* chore(docs,refs): prebuild self-hosted ref data
Pregenerate self-hosted ref data files, in the style of the client lib,
Management API, and CLI references. Preparatory step for migrating the
self-hosted references to App Router.
* refactor(docs): convert self-hosting to app router
Convert self-hosting reference pages to App Router.
* fix(docs,sitemap)
* chore(docs): preprocess management api specs
In preparation for App Router migration of Management API reference,
preprocess the Management API spec (both OpenAPI spec and common
sections), and write the processed data to file, in the style of the
other pregenerated reference data.
Details:
- Split reference section generation into separate functions for SDK, CLI, and API
- Add new function to generate API reference sections from OpenAPI spec
- Introduce mapEndpointsById function to create a map of API endpoints
- Update run function to execute all reference generation tasks in parallel
- Import necessary new dependencies and types
* refactor(docs): migrate management api reference to app router
* fix(docs): statically build management api reference page
* fix(docs): minor styling issues
Start implementing the new troubleshooting entries organization.
Adds:
- A template for structured troubleshooting entries
- Validation for the template
Pages were missing from the sitemap after the reorganization. Added them
back in.
Also added an optional priority that can be specified by including
`sitemapPriority` in content metadata. Used on the deprecated Auth
Helpers pages to see if we can tweak the relative SEO ranking for them.