wtfdocs
wtfdocs copied to clipboard
The source for https://wtfutil.com
WTF Docs
This site is built using Material for MkDocs.
Development environment setup
- Install python 3
- Create a virtual-env:
python -m venv virtual-env
source virtual-env/bin/activate
pip install -r requirements.txtmkdocs serve
To add documentation for a new module
- Create a new Markdown file in the
/docs/modulesdirectory - Add a new route in the
mkdocs.ymlfile, under thenav:section. - To add pictures, add the image to
./docs/overrides/assets/modules/<IMAGE>.png
Deploying
- Merge changes into
master - Run
mkdocs gh-deploy --forceto push the changes to thegh-pagesbranch on github.com - Commit the resulting changes into
master