This repository contains the UWHPC Starlight documentation site. The production
build is configured for the standard GitHub Pages project URL:
https://uwhpc.github.io/docs/.
Node.js 22.12 or newer is required.
npm ci
npm run devThe site uses /docs as its base path in development and production.
npm run build
npm run preview -- --host 127.0.0.1npm run build runs Astro's content and type checks before generating the static
site in dist/.
The workflow in .github/workflows/deploy-pages.yml builds and deploys the site
on every push to main, and it can also be started manually.
Before the first deployment:
- Open the
UWHPC/docsrepository settings on GitHub. - Select Pages.
- Set Source to GitHub Actions.
- Commit
package-lock.jsonwith the site sources and pushmain. - Watch the Deploy documentation to GitHub Pages workflow.
If the site will use a custom domain instead of the standard project URL,
update site and remove or change base in astro.config.mjs before deploying.