Source for ooaarg.github.io: the public site for the Online Optimization And Applications Research Group.
bun install
bun dev # http://localhost:4321Each content type has its own guide:
- Adding a publication — papers, preprints, code, and talks (
src/content/publications/). - Adding a news post — blog/news tiles (
src/content/news/). - Adding a person — people on
/about(src/content/people/).
- Don't rename slugs once published — they're the canonical URL.
- Don't include
idin frontmatter — it's derived from the filename. - Use the
summaryfield for the bento copy, not a body paragraph. The body is for the detail page only. - Featured tiles cost real estate — only mark
featured: truefor headline results. Two or three featured at a time is plenty. - Run
bun run typecheckbefore pushing — it catches frontmatter typos that won't otherwise surface until build time. Runbun run formatandbun run linttoo if you touched code.
| Command | What it does |
|---|---|
bun install |
Install dependencies. |
bun dev |
Dev server with hot reload at http://localhost:4321. |
bun run typecheck |
Type-check Astro components, Preact islands, and content schemas (astro check). |
bun run lint |
Lint JS/TS with oxlint. lint:fix autofixes. |
bun run format |
Format JS/TS/CSS with oxfmt. format:check verifies without writing. |
bun run build |
Static build into dist/. |
bun run preview |
Serve dist/ locally. |