User documentation for the EPFL ENAC CO₂ calculator, built with MkDocs and the Material theme.
- Live site: https://epfl-enac.github.io/co2-calculator-user-doc/
- Source docs: docs/
We recommend using uv for fast, reproducible Python environments.
Requirements: Python 3.11+.
uv pip install -r requirements.txt- Build once:
uv run mkdocs build- Serve with live reload:
uv run mkdocs serveOpen http://127.0.0.1:8000/ in your browser.
Configured in mkdocs.yml:
- Material theme features
pymdown-extensions(details, superfences, math via MathJax)pymdownx.snippetsfor HTML/MD includestable-reader(mkdocs-table-reader-plugin) to render tabular data from files
Dependencies are pinned in requirements.txt for consistent local and CI builds.
- Builds and deploys on pushes to
mainvia .github/workflows/deploy-docs.yml. - Workflow installs from requirements.txt to ensure the same plugins are available (including
mkdocs-table-reader-plugin).
- For content changes, edit files under docs/ and open a PR.
- For build/config changes, update
mkdocs.ymland/orrequirements.txtand verify withuv run mkdocs build.
See LICENSE.