Skip to content

Commit

Permalink
Add CircleCI testing for documentation build (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Feb 13, 2020
1 parent 73f3cfe commit 2d2d481
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 2
jobs:
build_docs:
docker:
- image: circleci/python:3.6-stretch
steps:
# Get our data and merge with upstream
- run: sudo apt-get update
- checkout

- restore_cache:
keys:
- cache-pip
- run: pip install --user -r docs/requirements.txt
- run: pip install --user -e .[testing,sphinx]
- save_cache:
key: cache-pip
paths:
- ~/.cache/pip

# Build the docs
- run:
name: Build docs to store
command: |
cd docs
make html
- store_artifacts:
path: docs/_build/html/
destination: html


workflows:
version: 2
default:
jobs:
- build_docs
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx
pyyaml
https://github.com/chrisjsewell/mistletoe/archive/myst.zip
https://github.com/ExecutableBookProject/mistletoe/archive/myst.zip

0 comments on commit 2d2d481

Please sign in to comment.