mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 19:43:59 +03:00
reduced output to errors and warnings only
This commit is contained in:
parent
670dbe6d75
commit
59904576a2
|
@ -5,12 +5,12 @@ def test_linkcheck(tmpdir):
|
||||||
doctrees = tmpdir.join("doctrees")
|
doctrees = tmpdir.join("doctrees")
|
||||||
htmldir = tmpdir.join("html")
|
htmldir = tmpdir.join("html")
|
||||||
subprocess.check_call(
|
subprocess.check_call(
|
||||||
["sphinx-build", "-W", "-blinkcheck",
|
["sphinx-build", "-q", "-blinkcheck",
|
||||||
"-d", str(doctrees), ".", str(htmldir)])
|
"-d", str(doctrees), ".", str(htmldir)])
|
||||||
|
|
||||||
def test_build_docs(tmpdir):
|
def test_build_docs(tmpdir):
|
||||||
doctrees = tmpdir.join("doctrees")
|
doctrees = tmpdir.join("doctrees")
|
||||||
htmldir = "html" #we want to keep the docs
|
htmldir = "html" #we want to keep the docs
|
||||||
subprocess.check_call([
|
subprocess.check_call([
|
||||||
"sphinx-build", "-W", "-bhtml",
|
"sphinx-build", "-q", "-bhtml",
|
||||||
"-d", str(doctrees), ".", str(htmldir)])
|
"-d", str(doctrees), ".", str(htmldir)])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user