Adding Pages
Every page on this site is a Markdown file under src/content/docs/.
The Steps
Section titled “The Steps”- Create a
.mdfile insrc/content/docs/or any folder inside it. - Start the file with front matter containing a
titleand adescription. - Write the body in plain Markdown.
- Commit and push. Vercel rebuilds the site automatically.
Front Matter
Section titled “Front Matter”Every page needs this block at the top:
---title: Your Page Titledescription: One line describing the page.---The title becomes the page heading and the sidebar label. The description is used for search results and link previews.
Folders And The Sidebar
Section titled “Folders And The Sidebar”Files inside src/content/docs/start-here/ show up under the Start Here group in the sidebar. To add a new group, create a folder and register it in astro.config.mjs.