This repository builds the documentation site for Radashi.
The GitHub repository is radashi-org/radashi-org.github.io; the local package name is radashi-docs.
git clone https://github.com/radashi-org/radashi-org.github.io radashi-docs
cd radashi-docs
pnpm install
pnpm devOpen http://localhost:4321/ after the dev server starts.
This project does not use Git submodules. During pnpm install, the postinstall script installs the customized Starlight subrepo into starlight/. During development, the Astro config clones or updates radashi/ so the site can generate API reference pages from Radashi's source docs. Run pnpm dev once before building from a fresh clone, or clone https://github.com/radashi-org/radashi into radashi/ manually.
- Astro builds the site.
- Starlight provides the docs framework, with local customizations loaded from
starlight/packages/starlight. - Project-owned docs live in
src/content/docs. - API reference pages are generated from
radashi/docs/**/*.mdx. - Function metadata and bundle-size data are generated from
radashi/src. public/llms.txt,public/llms-full.txt, andsrc/content/docs/reference/index.mdxare generated files.
| Command | Description |
|---|---|
pnpm dev |
Start the local Astro dev server. |
pnpm start |
Alias for pnpm dev. |
pnpm build |
Run astro check and attempt the production static build. |
pnpm preview |
Preview the built site from dist/. |
pnpm astro ... |
Run Astro CLI commands. |
These paths are created locally and ignored by Git:
starlight/radashi/dist/.astro/.cache/public/llms.txtpublic/llms-full.txtsrc/content/docs/reference/index.mdx
pnpm dev works for local development. pnpm build is expected to complete the Astro check, static build, Pagefind indexing, and sitemap generation.