This repository contains source code for my MkDocs site hosted on my GitHub Pages site (rohancragg.co.uk)
If cloning onto a new (Windows) machine - bootstrap MkDocs like this:
scoop install python
scoop install curl
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
python -m pip install -U pip
pip install mkdocs
python $env:USERPROFILE\scoop\apps\python\current\Tools\scripts\win_add2path.py
Using Material theme
pip install mkdocs-material
pip install -r ./requirements.txt
It can be previewed by running:
mkdocs serve
It's deployed like this:
.\gh-deploy.ps1