This serves documentation, guides, and project information for NAHPU.
- 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.
- Node.js >= 18 (Astro 5+ works best with recent Node versions).
- Yarn (project uses Yarn as the package manager per
package.json). Using npm is possible but the repo was bootstrapped with Yarn.
If you need to install Yarn you can follow the official guide (or use npm: npm install -g yarn).
Install dependencies:
yarn installRun the development server (hot reload):
yarn devBuild the site for production:
yarn buildPreview the built site locally:
yarn 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/docs/- Markdown documentation used by the sitesrc/components/- reusable UI componentspublic/- static assets (images, favicon, etc.)
See the documentation in src/docs/contributing/ for contribution guidance, code & doc contribution workflows, and developer tooling.
If you'd like to propose changes, open an issue or submit a pull request on the main branch.
This project is licensed under the MIT License. See the LICENSE file for details.
NAHPU Digital Catalog team
-- Notes and assumptions:
- Assumed Node >= 18 to work well with Astro 5.x. If you need a different Node version, let me know and I can add an
.nvmrcor update the README.