fe0be76dfa
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
12 lines
323 B
Bash
Executable File
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
|