Open a course repository

Before editing a new repository, identify how it is built and where its maintained source documents live. Course repositories share broad roles, but not necessarily the same directory names or task arguments.

First inspection

Look for these files and directories:

Location What it tells you
README.md or an authoring guide The intended contributor workflow and supported commands
pixi.toml or pyproject.toml Dependencies and tasks such as preview or render
_quarto.yml Project type, output formats, navigation, and resources
_quarto-<profile>.yml Optional learner-facing or answer-bearing variants
*.qmd content folders The source documents to edit
_extensions/ or filters/ Installed features such as quarto-teaching-tools solution handling
.github/workflows/ Automated render and publication behavior
_site/, _output/, or similar Rendered output; usually inspect, do not edit

Establish the workflow

From the repository root:

  1. Read its documentation and task manifest.
  2. Identify the .qmd file associated with the page or exercise to change.
  3. Determine whether there are multiple profiles or output formats to verify.
  4. Run the documented preview task before editing.
  5. Make the smallest source change necessary and re-check its rendered output.
TipPatterns seen in existing courses

An ordinary website may contain course_notes/_quarto.yml and use pixi run preview. A new profiled project should prefer pixi run preview student and pixi run preview instructor, backed by teaching.show-solutions. Existing projects may instead use names such as exercise/solution or student/master; their configured command remains authoritative.