Set up your environment
1
Install dependencies
From the project root, install the required packages:
2
Start the dev server
Run the Astro development server:Open the URL shown in your terminal (usually
http://localhost:4321) to see your site.3
Edit a page
Open
docs/index.mdx in your editor and make a change. You’ll see changes in your local preview.Project structure
Your content lives in thedocs/ directory:
Add a new page
1
Create an MDX file
Create a new file in the
docs/ directory. For example, docs/my-page.mdx:docs/my-page.mdx
2
Add it to navigation
Open
docs/docs.json and add the page path (without the .mdx extension) to the relevant navigation group:docs/docs.json
Deploy
Push your changes to GitHub. If your hosting is configured to build on push, your site deploys automatically. To build the site locally:dist/ directory.
Next steps
Customize your site
Configure navigation, colors, and layout.
Components
See the available components.