Skip to content
Proyek

Tentang

Dokumentasi untuk manusia dan agen, dibangun dengan Astro.

Proyek lainnya

Cara angka ini diukur

1,787 bintang64 Fork +2 dalam 24 jam

Yang dapat Anda lakukan

  • MDX components: code blocks, tabs, steps, cards, file trees, reusable snippets and interactive diagrams. Some install on demand with nimbus-docs add.
  • An API reference generated from OpenAPI 3.x, including multiple API versions.
  • Docs versions, search, and pages loaded from other Git repositories or Notion.
  • Config, frontmatter and MDX components are validated during the build.

Pertumbuhan bintang terukur

dalam 24 jam
+2
dalam 7 hari
+4
dalam 15 hari
+16
dalam 1 bulan
+120

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Nimbus

Nimbus is a documentation framework for Astro: docs for humans and agents, in your repo. It scaffolds the site into your repository, checks the content you and your agents write, and publishes it as HTML for people and Markdown for agents.

Docs: nimbus-docs.com

Quickstart

Requires Node.js 22.23.4 or later.

npx @cloudflare/create-nimbus-docs@latest my-docs --yes --package-manager npm
cd my-docs
npm run dev

Pages live in src/content/docs/ as MDX or Markdown. Start with src/content/docs/index.mdx, and set the site's URL, title and description in astro.config.ts; they ship as placeholders.

How it works

  • Your repo holds the site: layouts, components, styles, routes and content, copied in by the scaffolder. Edit any of it.
  • @cloudflare/nimbus-docs is the dependency: the Astro integration, the helpers your routes call, and the nimbus-docs CLI.
  • The registry holds optional components and features. nimbus-docs add copies components in as source; features are Markdown recipes a coding agent applies to your project.

Features

Writing:

  • MDX components: code blocks, tabs, steps, cards, file trees, reusable snippets and interactive diagrams. Some install on demand with nimbus-docs add.
  • An API reference generated from OpenAPI 3.x, including multiple API versions.
  • Docs versions, search, and pages loaded from other Git repositories or Notion.

Checking:

  • Config, frontmatter and MDX components are validated during the build.
  • nimbus-docs lint reports authoring mistakes with rules configured in astro.config.ts. It doesn't block the build.
  • nimbus-docs check checks the environment, structure, content, types and pending upgrades without building. --fix applies safe fixes; --json gives an agent the findings.

Publishing for agents:

  • Markdown versions of docs and API reference pages, plus llms.txt and llms-full.txt. Hidden versions are left out.
  • Optional Agent Skills, WebMCP search and a remote MCP server.

Deploy

Sites are static by default: npm run build, then host the output anywhere. Rendering pages on request and the remote MCP server need a server adapter (Cloudflare, Netlify, Vercel or Node); see Deploy.

Packages

Package What it is
@cloudflare/create-nimbus-docs Creates a new site.
@cloudflare/nimbus-docs The Astro integration and the nimbus-docs CLI.

Status

Pre-1.0. The public API can change between minor releases. Pin your versions and read each package's changelog (nimbus-docs, create-nimbus-docs) before upgrading. Upgrade a Nimbus site walks through one.

Contributing

Pull requests are welcome; for anything bigger than a small fix, start with an issue or a discussion. See CONTRIBUTING.md, and CLAUDE.md for the architecture and agent context.

License

MIT

Jelajahi proyek terkait

Memuat…