By the end you’ll have a docs site running locally, with a page you’ve edited.
Prerequisites
- Node 22.12 or later (
node --version)
Steps
Create the site
npm create @cloudflare/nimbus-docs@latest -- my-docs --yesyarn create @cloudflare/nimbus-docs my-docs --yespnpm create @cloudflare/nimbus-docs@latest my-docs --yesbun create @cloudflare/nimbus-docs@latest my-docs --yesStart the dev server
cd my-docsnpm run devyarn run devpnpm run devbun run devEdit the home page
Open
src/content/docs/index.mdx, change the title, and save.
You should see
astro v<version> ready in <n> ms
┃ Local http://localhost:4321/
┃ Network use --host to exposeOpen http://localhost:4321/: your site, with your new title and a sidebar. The scaffolder wrote the layouts, components and styles into my-docs/, and they’re yours to change.
Search reads an index the build writes, so it answers once you run npm run build, then npm run preview.
Next step
Pages and routing: add your first real page.