tools: apidoc

doc: launch.h
This commit is contained in:
Bill Zissimopoulos
2018-01-11 17:09:20 -08:00
parent 309827860f
commit b4f5707e4e
4 changed files with 337 additions and 1 deletions

12
tools/gendoc/apidoc.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
cd $(dirname "$0")/../..
PRETTYDOC="$PWD/../prettydoc/prettydoc"
if [[ $# -eq 0 ]]; then
echo "usage: $(basename $0) {asciidoc|html}" 1>&2
exit 1
fi
"$PRETTYDOC" -f $1 -t -H=--outer-names-only -o doc inc/winfsp/winfsp.h inc/winfsp/launch.h