You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 61e17ab
Browse filesBrowse the repository at this point in the historyBrowse files
`after` is the `docs.json` path of a page in the sidebar (not a hidden page or one whose `url` links out). Flagged readers see the gated page right after it, in the same group, and at `/docs/<path>`; everyone else gets the normal 404. Several gated pages after the same page are listed in file name order. Don't add a gated page to `docs.json`.
87
+
`after` is the `docs.json` path of a page in the sidebar (not a hidden page or one whose `url` links out). Flagged readers see the gated page right after it, in the same group, and at `/docs/<path>`; everyone else gets the normal 404. Optional `sidebarTitle`, `order`, and `group` frontmatter customize the sidebar label, sort order, and sidebar section heading when placing multiple pages after the same `after` page. Don't add a gated page to `docs.json`.
88
88
89
89
-`flag` must be in `DOCS_FLAGS` (`apps/docs/lib/gated-flags.ts`, and the dashboard's copy in `apps/webapp/app/services/docsReader.server.ts`). Add a new flag to both.
90
90
- Write it like a public page: the same components (`<Steps>`, `<Tabs>`, `<CodeGroup>`, callouts, `<Accordion>`, ...), snippets and code blocks work. Two things don't: images, videos and iframes (the build fails on them, since their files would be public), and type hovers (gated code blocks render without them). A gated section can't hold another `<Gated>`.
This is useful when you know that a certain payload will require more memory than the default machine. For example, you know it's a larger file or a customer that has a lot of data.
60
60
61
+
<Gatedid="k7m2p4" />
62
+
61
63
## Out Of Memory (OOM) errors
62
64
63
65
Sometimes you might see one of your runs fail with an "Out Of Memory" error.
0 commit comments