Skip to content

Commit

Permalink
FAB-7987 Add tox.ini for building docs in CI
Browse files Browse the repository at this point in the history
Change-Id: Ia3b873b12d7091a1db6b569c913cfc4e6bebd985
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
  • Loading branch information
zxiiro authored and rameshthoomu committed Jan 31, 2018
1 parent d7dd231 commit d221ea4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@ bin/
examples/e2e_cli/channel-artifacts/*.tx
examples/e2e_cli/channel-artifacts/*.block
examples/e2e_cli/crypto-config/*
# tox
.tox/
# vscode settings
.vscode
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_build/
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[tox]
minversion = 1.6
envlist = docs
skipsdist=true

[testenv:docs]
deps = -rdocs/requirements.txt
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/source {toxinidir}/docs/_build/html
echo "Generated docs available in {toxinidir}/docs/_build/html"
whitelist_externals = echo

0 comments on commit d221ea4

Please sign in to comment.