SvelteKit site for the University of Washington Math AI Lab. The canonical source repo is
uw-math-ai/AI-Lab-website.
npm install
npm run devLocal preview for the GitHub Pages subpath:
npm run build:ai-lab
npm run previewnpm run check
npm run build
npm run build:ai-labnpm run build builds for domain-root hosting such as https://ai.math.uw.edu/.
npm run build:ai-lab builds for https://uw-math-ai.github.io/AI-Lab-website/.
Pushing to main runs .github/workflows/pages.yml, which builds the Svelte app and deploys the
generated build/ directory through GitHub Pages. Do not commit generated build/ files.
GitHub Pages must be configured with Source: GitHub Actions in the repository Pages settings. If it is left on branch/root publishing, GitHub will render this README instead of the Svelte app.
The Pages workflow automatically builds for the current GitHub project URL until GitHub Pages reports
ai.math.uw.edu as the configured custom domain. After that, it builds for root-domain hosting. For
the coordinated DNS cutover, the manual workflow dispatch includes a force_root_domain input so an
admin can build root-domain output immediately after GitHub Pages is configured. See
docs/custom-domain-checklist.md for the DNS, GitHub Pages, redirect, rollback, and Google Search
Console checklist.
The Lean Hackathon site is maintained separately at https://uw2026leanhackathon.github.io/; this
repo links to it but does not build that app.
The event calendar is repo-owned data in src/lib/data/events.ts. To add an event, append one object with:
titlespeakerdateasYYYY-MM-DDstartTimeandendTimeas 24-hourHH:mmlocationtype- optional
sourceUrl - optional
abstract
Use UW Math event pages as the source URL whenever possible.
Public quarter URLs such as spring2026.html are lightweight redirect shims in static/ so existing links keep working after the SvelteKit migration.