Writing guides
File location
Section titled “File location”Create Markdown (.md) or MDX (.mdx) files under:
src/content/docs/dungeons/<expansion>/<duty-slug>.mdThe URL path matches the folder structure. Example: dungeons/dawntrail/worqor-zormor.md → /dungeons/dawntrail/worqor-zormor/.
Frontmatter
Section titled “Frontmatter”Every page supports Starlight’s defaults plus optional fields defined in src/content.config.ts:
---title: Dungeon Namedescription: Short summary for search and social previews.expansion: DawntraildutyLevel: 97partySize: '4'estimatedTime: 18–22 min---Sidebar
Section titled “Sidebar”Edit astro.config.mjs → starlight.sidebar to add expansion groups and dungeon links.
To auto-list every file in a folder:
{ label: 'Dawntrail', items: [{ autogenerate: { directory: 'dungeons/dawntrail' } }],},Components
Section titled “Components”Starlight includes cards, tabs, asides, and more. Use MDX when you need components inside a page.
Images
Section titled “Images”- Put images in
src/assets/and reference them from Markdown. - Put static files (favicons, downloads) in
public/.
Build & preview
Section titled “Build & preview”npm installnpm run devProduction output goes to dist/ after npm run build. Serve that folder with any static file host (nginx, Caddy, etc.).