Files
peelz 1bb7843811 Move docs to luacs-docs/{lua,cs,landing-page}
luacs-docs/cs also has a proper http server for testing locally
2022-08-10 05:36:16 -04:00

30 lines
472 B
Bash
Executable File

#!/usr/bin/env bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
cd "$DIR/.."
if ! command -v "doxygen" &> /dev/null; then
echo "doxygen not found"
exit 1
fi
rm -rf ./build
mkdir -p ./build
mkdir -p ./build/baro-server
mkdir -p ./build/baro-client
echo "Building server docs"
(
cd ./baro-server
doxygen ./Doxyfile
)
echo "Building client docs"
(
cd ./baro-client
doxygen ./Doxyfile
)
echo "Building shared docs"
doxygen ./Doxyfile