This serves documentation, guides, and project information for NAHPU. We develop the documentation using Astro and Starlight. The frameworks allow us to create a fast, modern, and multilingual documentation site with support for Markdown content and custom components. It also environmentally friendly by optimizing for performance and minimizing unnecessary re-renders (see details in Starlight's documentation).
- Purpose: host documentation and informational pages for the NAHPU Digital Catalog.
- Tech stack: Astro (frontend static site generator).
- Main language: TypeScript / JavaScript (Astro components), Markdown for docs.
- Bun.
If you need to install bun, you can do so with the following command:
curl -fsSL https://bun.sh/install | bashInstall dependencies:
bun installRun the development server (hot reload):
bun run devBuild the site for production:
bun run buildTo preview the production build locally:
bun run previewThese scripts map to the entries in package.json:
dev->astro devbuild->astro buildpreview->astro preview
src/pages/- site pages and routessrc/layouts/- page layout components (e.g.Layout.astro)src/content/docs/- Markdown documentation used by the sitesrc/components/- reusable UI componentspublic/- static assets (images, favicon, etc.)
See the contribution guidelines for guidance on code and documentation contributions, as well as developer tooling information.
If you'd like to propose changes, open an issue or submit a pull request on the main branch.