Automatically generated documentation

This commit is contained in:
Tyler Akins
2015-10-02 10:04:39 -05:00
parent b5faf67737
commit 54d836364c
2 changed files with 369 additions and 0 deletions

20
make-api-doc Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
#
# This requires tomdoc.sh to be in your PATH.
# https://github.com/mlafeldt/tomdoc.sh
cd "${0%/*}"
cat <<'EOF'
API / Function Documentation
============================
This documentation is generated automatically from the source of [mo] thanks to [tomdoc.sh].
EOF
tomdoc.sh -m mo
cat <<'EOF'
[mo]: ./mo
[tomdoc.sh]: https://github.com/mlafeldt/tomdoc.sh
EOF