gendocindex.sh 286 Bytes
Newer Older
Karel Koci's avatar
Karel Koci committed
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh
# Expected to be executed in project root and prints out markdown.
# It expects that all documentation is already compiled.

echo "Documentation index"
echo "==================="
echo

for f in docs/*.html; do
	ff="$(basename "$f")"
	ff="${ff%.html}"
	echo "* [$ff]($f)"
done