Make sure you have Pipenv installed.
Then run the following to get up and running:
git clone https://github.com/epirus-io/epirus.github.io.git epirus-docs
cd epirus-docs
pipenv install
pipenv shell
Run locally using:
mkdocs serve
To build and push to docs.epirus.io:
mkdocs gh-deploy
In order to use a custom colour palette, we need to build our own mkdocs-material assets. This is based on the instructions listed here with a few modifications:
git clone https://github.com/epirus-io/mkdocs-material.git
cd mkdocs-material
pipenv --python 3.7
pipenv install -r requirements.txt
npm install
npm run watch
When you have made your modifications, run the following to update the documentation theme:
npm run build
cp -r material ..<path-to>/epirus-docs/theme