ardupilot/Tools/scripts/build_docs.sh

17 lines
354 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# work from either APM directory or above
[ -d ArduPlane ] || cd APM
export DOCS_OUTPUT_BASE=./docs
(
$DOCS_OUTPUT_BASE/build-libs.sh
$DOCS_OUTPUT_BASE/build-arduplane.sh
$DOCS_OUTPUT_BASE/build-arducopter.sh
$DOCS_OUTPUT_BASE/build-apmrover2.sh
$DOCS_OUTPUT_BASE/build-ardusub.sh
) > $DOCS_OUTPUT_BASE/build_docs.log 2>&1