Sneak documentation builds into CI

pull/709/head
Kieran Prasch 2019-01-29 17:20:15 -08:00
parent 43f5e7ecf7
commit 406a5fa67c
No known key found for this signature in database
GPG Key ID: 199AB839D4125A62
2 changed files with 23 additions and 1 deletions

View File

@ -151,6 +151,13 @@ workflows:
requires:
- cli
- ursula_command
- build_docs:
filters:
tags:
only: /.*/
requires:
- cli
- ursula_command
- test_build:
filters:
tags:
@ -158,6 +165,7 @@ workflows:
requires:
- cli
- ursula_command
- build_docs
- build_docker:
filters:
tags:
@ -488,6 +496,20 @@ jobs:
- store_artifacts:
path: tests/metrics/results/
build_docs:
<<: *python_36_base
steps:
- checkout
- pip_install
- run:
name: Install Documentation Build Dependencies
command: pip3 install --user sphinx recommonmark sphinx-rtd-theme
- run:
name: Build Sphinx Documentation
command: |
cd docs
make html
test_build:
<<: *python_36_base
steps:

View File

@ -3,7 +3,7 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXBUILD = python3 -m sphinx
SOURCEDIR = source
BUILDDIR = build