apenwarr-redo/Documentation/mkdocs.do

9 lines
226 B
Text
Raw Normal View History

redo-ifchange doc.list
xargs redo-ifchange mkdocs.yml <doc.list
if type mkdocs >/dev/null 2>/dev/null; then
mkdocs build
else
echo "Warning: mkdocs is missing; can't generate website." >&2
redo-ifcreate /usr/bin/mkdocs
fi