Add doxygen doc generation. (#131356)

This commit is contained in:
Greg Spencer
2023-08-29 11:12:02 -07:00
committed by GitHub
parent 7ef4290a3c
commit ff829fd8b2
9 changed files with 135 additions and 36 deletions

View File

@@ -134,6 +134,11 @@ function main() {
if ! [[ "$DESTINATION" =~ ^/ ]]; then
DESTINATION="$PWD/$DESTINATION"
fi
# Make sure the destination has .zip as an extension, because zip will add it
# anyhow, and we want to print the correct output location.
DESTINATION=${DESTINATION%.zip}.zip
# Zip up doc directory and write the output to the destination.
(cd "$STAGING_DIR"; zip -r -9 -q "$DESTINATION" ./doc)
if [[ $KEEP_STAGING -eq 1 ]]; then