This repository ships the MkDocs theme and build configuration for the
Palomero Lab how-to site. Pages live in
docs/ as plain
markdown files; see
docs/example.md
for the features the theme supports (admonitions, tabs, fenced code with a
copy button, and the last-updated macro).
This file is published as the site's home page at the URL above
(docs/index.md is a symlink to this README).
Docs are built with mkdocs and hosted on GitHub Pages.
You can install dependencies with either pip or micromamba.
pipdocs: https://pip.pypa.io/en/stable/installation/- Create and activate a virtual environment:
python3 -m venv .venvsource .venv/bin/activate
- Install requirements:
pip install -r requirements.txt
micromambadocs: https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html- Create env from
environment.yml:micromamba env create -f environment.yml
- Activate env:
micromamba activate how-to
- This environment installs
mkdocswith conda-forge and installs the remaining Python packages fromrequirements.txtvia pip.
mkdocs buildmkdocs serve