Skip to content

Working with this site

The site is generated from Markdown and MDX files stored in Git. A normal edit follows four steps.

Terminal window
npm install
npm run dev

Documentation lives in src/content/docs/docs/. Blog posts live in src/content/blog/.

Create a blog draft with:

Terminal window
npm run new:post -- "A useful title"
Terminal window
npm run check
npm run build

The content schemas catch missing titles, invalid dates, unsupported portal shapes, and malformed metadata before publishing.

Commit the change and push the main branch to Forgejo. The publishing workflow builds the static site and synchronizes the generated dist/ directory to the course web server.