Skip to content

Commit

Permalink
fix invalid PyTest reference, and do not ignore Sphinx warnings anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat committed Aug 20, 2017
1 parent f17a24a commit 4a1f510
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/check_sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ def test_build_docs(tmpdir):
doctrees = tmpdir.join("doctrees")
htmldir = tmpdir.join("html")
subprocess.check_call([
"sphinx-build", "-bhtml",
"sphinx-build", "-bhtml", '-W',
"-d", str(doctrees), ".", str(htmldir)])

def test_linkcheck(tmpdir):
doctrees = tmpdir.join("doctrees")
htmldir = tmpdir.join("html")
subprocess.check_call(
["sphinx-build", "-blinkcheck",
["sphinx-build", "-blinkcheck", '-W',
"-d", str(doctrees), ".", str(htmldir)])


2 changes: 2 additions & 0 deletions doc/example/pytest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ It is easy to integrate `pytest`_ runs with tox. If you encounter
issues, please check if they are `listed as a known issue`_ and/or use
the :doc:`support channels <../support>`.

.. _`pytest`: https://www.pytest.org

Basic example
--------------------------

Expand Down

0 comments on commit 4a1f510

Please sign in to comment.