Skip to content

Latest commit

Β 

History

History
33 lines (26 loc) Β· 1.17 KB

File metadata and controls

33 lines (26 loc) Β· 1.17 KB

Built with Starlight

πŸš€ Project Structure

Inside of your Astro + Starlight project, you'll see the following folders and files:

.
β”œβ”€β”€ public/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ content/
β”‚   β”‚   β”œβ”€β”€ docs/
β”‚   β”‚   β”‚   β”œβ”€β”€ creators/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ getting-started.md
β”‚   β”‚   β”‚   β”‚   └── {Add more pages/guides here} 
β”‚   β”‚   β”‚   └── learners/
β”‚   β”‚   β”‚       β”œβ”€β”€ getting-started.md
β”‚   β”‚   β”‚       └── {Add more pages/guides here} 
β”‚   β”‚   └── config.ts
β”‚   └── env.d.ts
β”œβ”€β”€ astro.config.mjs
β”œβ”€β”€ package.json
└── tsconfig.json

Starlight looks for .md or .mdx files in the src/content/docs/ directory. Each file is exposed as a route based on its file name.

Images can be added to src/assets/ and embedded in Markdown with a relative link.

Static assets, like favicons, can be placed in the public/ directory.

This project uses StarlightUtils to configure the sidebars and nav links.