edited tox and test docs to previous state

This commit is contained in:
Lana 2020-05-15 17:17:45 +07:00
parent 95aeb39c48
commit 110e5a6307
2 changed files with 8 additions and 2 deletions

View File

@ -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():

View File

@ -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