mirror of https://github.com/nucypher/nucypher.git
Sneak documentation builds into CI
parent
43f5e7ecf7
commit
406a5fa67c
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue