mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
edited tox and test docs to previous state
This commit is contained in:
parent
95aeb39c48
commit
110e5a6307
@ -7,13 +7,11 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
'''
|
||||
def test_build_server_docs():
|
||||
proc = subprocess.Popen(['bash'], stdin=subprocess.PIPE)
|
||||
proc.stdin.write('cd docs/server; make html'.encode())
|
||||
proc.stdin.close()
|
||||
assert proc.wait() == 0
|
||||
'''
|
||||
|
||||
|
||||
def test_build_root_docs():
|
||||
|
8
tox.ini
8
tox.ini
@ -32,3 +32,11 @@ deps =
|
||||
-r{toxinidir}/docs/root/requirements.txt
|
||||
extras = None
|
||||
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||
|
||||
[testenv:docsserver]
|
||||
basepython = {[base]basepython}
|
||||
changedir = docs/server/source
|
||||
@@ -41,3 +41,4 @@ deps =
|
||||
-r{toxinidir}/docs/server/requirements.txt
|
||||
extras = None
|
||||
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
Loading…
x
Reference in New Issue
Block a user