How the Site Works
Astro docs site. All content is Markdown files in src/content/docs/, organized into subdirectories (overview, program, advice, misc, development). Each .md file needs title frontmatter (plus optional date and order for sorting).
- Pages:
src/pages/index.astrorendersoverview/about.mdat the root.src/pages/[...slug].astrogenerates a page for every doc. - Sidebar: Defined in
src/sidebar.config.ts. Groups auto-populate from their directory viaautogenerate. - Layout: Single
DocsLayout.astrowraps all pages. One sharedSidebar.astrocomponent. - Content collection: Configured in
src/content.config.ts— globs all**/*.mdundersrc/content/docs.
this page was auto-generated by claude