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
This commit is contained in:
Drew Walters 2019-06-10 19:47:11 +00:00 committed by Scott Hussey
parent d8c8e15074
commit fe0be76dfa
1 changed files with 2 additions and 2 deletions

View File

@ -7,5 +7,5 @@ set -ex
# Generate documentation.
rm -rf doc/build doc/source/contributor/api/ releasenotes/build
sphinx-apidoc -o doc/api deckhand
sphinx-build -W -b html doc/source doc/build/html
sphinx-apidoc -fo doc/api deckhand
sphinx-build -b html doc/source doc/build/html