This repository contains the source code for the DEMOS website.
DEMOS — Democratizing Models — develops and supports an open ecosystem for the exchange, preservation, and reuse of scientific models across disciplines.
The website is built with MkDocs using the Material for MkDocs theme. Dependencies and development tasks are managed with Pixi.
.
├── .github/workflows/ # CI and GitHub Pages deployment
├── docs/ # Website content and assets
├── mkdocs.yml # MkDocs configuration
├── pixi.toml # Dependencies and development tasks
└── pixi.lock # Locked development environment
The website is available in English and German. The language configuration, navigation, theme, plugins, and other site-wide settings are defined in mkdocs.yml.
Install Pixi.
All other dependencies are installed automatically from pixi.toml and pixi.lock.
pixi run serveThe development server is available at:
http://localhost:8000
Changes to the documentation are automatically picked up by MkDocs.
pixi run buildThe generated static website is written to site/.
To perform the same build and link checks used in CI:
pixi run build-checkThis performs a strict MkDocs build and checks links in the generated website.
Website content lives in docs/.
For ordinary content changes:
- create a branch,
- edit or add the corresponding Markdown files,
- run
pixi run serveto inspect the result locally, - run
pixi run build-checkbefore submitting the changes, - open a pull request against
main.
Pull requests are built and validated by GitHub Actions, but the public website is deployed only after changes have been merged into main.
The website is hosted using GitHub Pages.
The GitHub Actions workflow in .github/workflows/docs.yml validates pull requests targeting main and pushes to main. Deployment to GitHub Pages is performed only for pushes to the main branch.
This repository is distributed under the MIT License.