discord-community/Makefile
Knut Ahlers 1e3891bb67
Add docs generator
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-07-25 14:26:45 +02:00

16 lines
418 B
Makefile

default:
gendoc: .venv
.venv/bin/python3 ci/gendoc.py $(shell grep -l '@module ' *.go) >wiki/Home.md
.venv:
python -m venv .venv
.venv/bin/pip install -r ci/requirements.txt
# --- Wiki Updates
pull_wiki:
git subtree pull --prefix=wiki https://github.com/Luzifer/discord-community.wiki.git master --squash
push_wiki:
git subtree push --prefix=wiki https://github.com/Luzifer/discord-community.wiki.git master