The UC OSPO Network website, built with MyST.
git clone git@github.com:UC-OSPO-Network/ucospo.net.git
cd ucospo.netnpm installPre-commit hooks run Prettier, markdownlint, Black, and codespell automatically before each commit. To enable them, first create a Python virtual environment and install the hook:
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
pre-commit installIf you skip this step, the pre-commit.ci bot will check your PR automatically instead.
make serve
# or: npx myst startThis starts a live-reload dev server, typically at http://localhost:3000.
make html
# or: npx myst build --htmlOutput goes to _build/html/.
myst.yml # site config and table of contents
index.md # home page
about.md # about page
news.md # news page
campus/ # per-campus pages
events/ # event pages
guiding-themes/ # guiding themes section
oss-resources/ # open source resource guides
posts/ # blog posts
static/ # images, CSS, and other static assets
- Pages are MyST Markdown.
- The table of contents is defined in
myst.ymlunderproject.toc. Add new pages there as well as creating the.mdfile. - Blog post frontmatter uses
tagsas an array:tags: [tag1, tag2]. - Admonitions use MyST syntax:
:::{note},:::{tip},:::{important}.
This project uses pre-commit with:
- Prettier — auto-formats Markdown, CSS, and YAML
- markdownlint — checks Markdown structure and accessibility (heading levels, alt text, informative link text, etc.). Configuration is in
.markdownlint-cli2.yaml. - Black — Python code formatting
- codespell — catches common typos
If you push without running pre-commit locally, the pre-commit.ci bot will check
your PR automatically. See CONTRIBUTING.md for usage details.
See CONTRIBUTING.md for the full contribution workflow including forking, branching, and the PR review process.