deckhand/tools/build-docs.sh
Drew Walters fe0be76dfa CI: Fix doc build gate
The doc build gate fails due to a duplicate definition of a Python
module. This commit adds the force flag to the utility that generates
the definitions to overwrite existing ones.

Change-Id: I5313c9aa57d76dd959009edb039b5db29ee45d66
2019-06-11 01:34:27 +00:00

12 lines
323 B
Bash
Executable File

#!/usr/bin/env bash
# Builds documentation and generates documentation diagrams from .uml
# files. Must be run from root project directory.
set -ex
# Generate documentation.
rm -rf doc/build doc/source/contributor/api/ releasenotes/build
sphinx-apidoc -fo doc/api deckhand
sphinx-build -b html doc/source doc/build/html