Skip to content
Merged
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
35 changes: 12 additions & 23 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,45 +73,34 @@ export default defineConfig({
href: 'https://github.com/constructorfabric/gears-rust',
},
],
// Sidebar skeleton — the nine top-level sections from the IA.
// Each section is autogenerated from its directory for now (Phase 1).
// Explicit ordering/labels are tightened in Phase 3.
// Sidebar — the top-level sections from docs/web-docs/toc.md (in the
// gears-rust repo). Each section is autogenerated from its directory;
// per-page order comes from each page's `sidebar.order` frontmatter. The
// CLI section is synced from the cargo-gears repo, not authored here.
sidebar: [
{
label: 'Introduction',
items: [{ autogenerate: { directory: 'introduction' } }],
},
{
label: 'Getting Started',
items: [{ autogenerate: { directory: 'get-started' } }],
label: 'Capabilities',
items: [{ autogenerate: { directory: 'capabilities' } }],
},
{
label: 'CLI',
items: [{ autogenerate: { directory: 'cli' } }],
label: 'Build with Gears',
items: [{ autogenerate: { directory: 'build-with-gears' } }],
},
{
label: 'Concepts',
items: [{ autogenerate: { directory: 'concepts' } }],
},
{
label: 'Guides',
items: [{ autogenerate: { directory: 'guides' } }],
},
{
label: 'Architecture',
items: [{ autogenerate: { directory: 'architecture' } }],
},
{
label: 'Reference',
items: [{ autogenerate: { directory: 'reference' } }],
},
{
label: 'Examples',
items: [{ autogenerate: { directory: 'examples' } }],
label: 'cargo gears CLI',
items: [{ autogenerate: { directory: 'cli' } }],
},
{
label: 'Contributing',
items: [{ autogenerate: { directory: 'contributing' } }],
label: 'Contribute',
items: [{ autogenerate: { directory: 'contribute' } }],
},
],
}),
Expand Down
Loading