wolfTPM/docs/generate_documentation.sh

15 lines
342 B
Bash
Executable File

#!/bin/bash
CURRDIR=${PWD##*/}
if [ "$CURRDIR" = "docs" ]; then
echo "Please run from the wolfTPM root directory"
exit 1
fi
# Run from ./docs
echo "Generating html..."
doxygen ./docs/Doxyfile
echo "Finished generating html..."
echo "To view the html files use a browser to open the index.html file located at docs/html/index.html"