Added doxygen support

This commit is contained in:
Austen Adler 2016-08-20 14:57:29 -04:00
parent f8c48b05a0
commit 1dfd8ec504
No known key found for this signature in database
GPG Key ID: 7ECEE590CCDFE3F1
3 changed files with 2420 additions and 0 deletions

2407
Doxyfile Normal file

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@
- zsh
- astyle 2.04+
- perl
- doxygen (optional, for checking if all code is documented)
## Usage
```sh

View File

@ -25,3 +25,15 @@ if which colout>/dev/null; then
else
astyle $OPTS $GLOB|\grep -P '^(?!Unchanged)'||true
fi
# Now check for documentation
# Run doxygen, redirecting stdout to dev null, and setting stderr to $OUTPUT
if command -v doxygen >/dev/null; then
OUTPUT=$((doxygen "${0:h}/Doxyfile" > /dev/null) 2>&1)
# If there is output, something went wrong
if [ ! -z "$OUTPUT" ]; then
printf "$OUTPUT\n" >&2
return 2
fi
else
printf "You don't have doxygen installed. Can't check documentation\n" >&2
fi