NeoNetwork/scripts/homepage-update.sh

14 lines
179 B
Bash
Executable File

#!/bin/sh
set -xeu
if ! which markdown 2>&1 >/dev/null; then
echo "need markdown"
exit
fi
(
cat docs/header.html
markdown README.md
cat docs/footer.html
) >docs/index.html