Skip to content

nahpu/nahpu-docs

Repository files navigation

NAHPU Docs

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).

Project details

  • 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.

Prerequisites

If you need to install bun, you can do so with the following command:

curl -fsSL https://bun.sh/install | bash

Quick start

Install dependencies:

bun install

Run the development server (hot reload):

bun run dev

Build the site for production:

bun run build

To preview the production build locally:

bun run preview

These scripts map to the entries in package.json:

  • dev -> astro dev
  • build -> astro build
  • preview -> astro preview

Project structure (important paths)

  • src/pages/ - site pages and routes
  • src/layouts/ - page layout components (e.g. Layout.astro)
  • src/content/docs/ - Markdown documentation used by the site
  • src/components/ - reusable UI components
  • public/ - static assets (images, favicon, etc.)

Contributing

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.

About

A new home for the NAHPU documentation website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors