summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-03-22 23:17:08 +0000
committerStephen Finucane <stephen@that.guru>2017-04-18 22:08:25 +0100
commit52947db28dab34aaa2cd9bd8d20ff6a824471646 (patch)
treec4fc13341c82316514bd940d583d223c69dc1c14 /tox.ini
parent9cfac5dbd7742622f3a6f59329c11b879f626f11 (diff)
downloadpatchwork-52947db28dab34aaa2cd9bd8d20ff6a824471646.tar
patchwork-52947db28dab34aaa2cd9bd8d20ff6a824471646.tar.gz
docs: Add skeleton for Sphinx docs
This is mostly the output of 'sphinx-quickstart' with all non-HTML build cruft removed and Sphinx minimum version set to 1.5. A tox target is included and the output of the docs build ignored. Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 31f1316..f1b892c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -43,6 +43,12 @@ commands = flake8 {posargs} patchwork patchwork/bin/pwclient
ignore = E129, F405
exclude = ./patchwork/migrations
+[testenv:docs]
+deps =
+ -r{toxinidir}/docs/requirements.txt
+commands =
+ sphinx-build -W -b html docs docs/_build/html
+
[testenv:lint]
basepython = python2.7
deps =