Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build docs with Circle CI #8893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 21, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ci: Bundle and store sphinx-gallery artifacts also.
  • Loading branch information
QuLogic committed Jul 20, 2017
commit cc56c7bc10af2cf4be666e65a67ff2b4eb2a7116
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ doc-run: &doc-build
command: python make.py html
working_directory: doc

doc-bundle-run: &doc-bundle
name: Bundle sphinx-gallery documentation artifacts
command: tar cf doc/build/sphinx-gallery-files.tar.gz doc/api/_as_gen doc/gallery doc/tutorials
when: always


##########################################
# Here is where the real jobs are defined.
Expand All @@ -91,6 +96,10 @@ jobs:

- run: *doc-build

- run: *doc-bundle
- store_artifacts:
path: doc/build/sphinx-gallery-files.tar.gz

- store_artifacts:
path: doc/build/html

Expand Down Expand Up @@ -132,6 +141,10 @@ jobs:
command: ~/.local/bin/linkchecker build/html/index.html
working_directory: doc

- run: *doc-bundle
- store_artifacts:
path: doc/build/sphinx-gallery-files.tar.gz

- store_artifacts:
path: doc/build/html

Expand Down