c81a88b963
Remove manual generation of UML diagrams; they will be built by Sphinx itself. Require to install PlantUML and Graphviz via bindep in openstack-tox-docs job; ReadTheDocs service already has both PlantUML and Graphviz installed for documentation builds. Change-Id: I21ab124a80e7768bc9edd891b975b4e0f8a6e50d Story: 2004747
12 lines
325 B
Bash
Executable File
12 lines
325 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 -o doc/api deckhand
|
|
sphinx-build -W -b html doc/source doc/build/html
|