Site for AstroNvim https://docs.astronvim.com
Find a file
2025-07-08 09:17:08 -04:00
.github/workflows ci: update github actions checkout 2023-10-05 18:53:08 -04:00
public chore: add more PWA tags 2023-10-10 06:16:11 -04:00
src feat(recipes): add recipe for disabling borders from floating windows 2025-07-08 09:17:08 -04:00
.envrc feat(build): Add in nix flake for devShell (#169) 2025-01-19 11:14:35 -05:00
.gitignore feat(build): Add in nix flake for devShell (#169) 2025-01-19 11:14:35 -05:00
.node-version fix: update node version 2025-01-19 11:31:41 -05:00
.prettierrc.mjs feat: move search from pagefind to algolia (#117) 2023-10-16 10:35:30 -04:00
.stylua.toml chore: add stylua configuration for formatting code in docs 2024-04-01 08:58:38 -04:00
.tool-versions feat(build): Add in nix flake for devShell (#169) 2025-01-19 11:14:35 -05:00
.typos.toml feat(advanced_lsp): signature help pop up added to AstroLSP 2024-07-31 18:28:57 -04:00
astro.config.mjs feat: update to latest starlight and tailwind v4 2025-04-16 08:42:18 -04:00
flake.lock feat(build): Add in nix flake for devShell (#169) 2025-01-19 11:14:35 -05:00
flake.nix feat(build): Add in nix flake for devShell (#169) 2025-01-19 11:14:35 -05:00
netlify.toml chore: add AstroNvim v4 docs 2025-03-26 15:53:18 -04:00
package.json chore: update dependencies 2025-05-02 09:00:18 -04:00
pnpm-lock.yaml chore: update dependencies 2025-05-02 09:00:18 -04:00
README.md feat!: Rewrite docs to Astro.js and starlight 2023-10-09 08:02:00 -04:00
tsconfig.json feat!: Rewrite docs to Astro.js and starlight 2023-10-09 08:02:00 -04:00

Starlight Starter Kit: Basics

Built with Starlight

npm create astro@latest -- --template starlight

Open in StackBlitz Open with CodeSandbox

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

🚀 Project Structure

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

.
├── public/
├── src/
│   ├── assets/
│   ├── content/
│   │   ├── docs/
│   │   └── 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.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Check out Starlights docs, read the Astro documentation, or jump into the Astro Discord server.