Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions apps/docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,16 @@ export default defineConfig({
//
// Start → getting-started, concepts, using-react
// Capabilities → capabilities (single page)
// Examples → examples (single page)
// Data → autogenerate (data/)
// Advanced → autogenerate (advanced/)
// Integrations → autogenerate (integrations/)
// Reference → autogenerate (reference/)
//
// Why hybrid: the top groups ("Start", "Capabilities") don't have a
// matching directory on disk, and we want them as named groups for IA
// reasons — so they have to be hand-rolled. Everything below is in a
// real subdirectory, so we let Starlight autogenerate from the
// Why hybrid: the top groups ("Start", "Capabilities", "Examples") are
// deliberately named groups for IA reasons, so they have to be
// hand-rolled. Everything below is in a real subdirectory, so we let
// Starlight autogenerate from the
// `sidebar.order` frontmatter on each page. New pages added to
// data/ / advanced/ / integrations/ / reference/ show up in the
// sidebar automatically — set `sidebar.order` in the page frontmatter
Expand Down Expand Up @@ -128,6 +129,10 @@ export default defineConfig({
label: "Capabilities",
items: [{ label: "All capabilities", slug: "capabilities" }],
},
{
label: "Examples",
items: [{ label: "Example index", slug: "examples" }],
},
{ label: "Data", autogenerate: { directory: "data" } },
{ label: "Advanced", autogenerate: { directory: "advanced" } },
{ label: "Integrations", autogenerate: { directory: "integrations" } },
Expand Down
Loading
Loading