Site for AstroNvim https://docs.astronvim.com
  • MDX 96.5%
  • JavaScript 2.5%
  • CSS 0.6%
  • Nix 0.2%
  • TypeScript 0.2%
Find a file
Micah Halter e6574dd2c5
Update for AstroNvim v6 (#180)
* feat: start migrating documentation to be applicable to AstroLSP v4

* feat(advanced_lsp): migrate more of the documentation to use the new LSP configuration settings for the `vim.lsp.config` API

* feat: more documentation update of AstroNvim v6 changes

* chore: update blink.cmp repository name

* chore: update dependencies

* feat: start working on v6 migration guide

* fix: a couple typos

* feat: add page for new treesitter customization options

* feat: work on v6 migration guide

* feat(treesitter): add documentation for available treesitter options in AstroCore

* feat(v6_migration): add more v6 migration guide information

* chore: remove v5 migration guide

* fix: improve requirements list to match the latest `nvim-treesitter`

* fix(v6_migration): improve readability of treesitter diff

* fix(v6_migration): copy edits

* fix(v6_migration): copy edits

* chore: update to AstroJS 6 and Starlight 0.38

* fix: update start_url to be relative

* fix: disable sharp builds
2026-03-30 09:35:30 -04:00
.github/workflows ci: update github actions checkout 2023-10-05 18:53:08 -04:00
public Update for AstroNvim v6 (#180) 2026-03-30 09:35:30 -04:00
src Update for AstroNvim v6 (#180) 2026-03-30 09:35:30 -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 Update for AstroNvim v6 (#180) 2026-03-30 09:35:30 -04: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 Update for AstroNvim v6 (#180) 2026-03-30 09:35:30 -04:00
.typos.toml feat(advanced_lsp): signature help pop up added to AstroLSP 2024-07-31 18:28:57 -04:00
astro.config.mjs fix: update plausible script for tracking 2025-11-13 08:03:39 -05: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 fix: add redirect to archived v5 docs 2026-03-30 08:56:35 -04:00
package.json Update for AstroNvim v6 (#180) 2026-03-30 09:35:30 -04:00
pnpm-lock.yaml Update for AstroNvim v6 (#180) 2026-03-30 09:35:30 -04:00
pnpm-workspace.yaml Update for AstroNvim v6 (#180) 2026-03-30 09:35:30 -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.