[PATCH 3 of 4 sherpa] [pkg] Add a tox env to build the documentation

Sylvain Thenault sylvain.thenault at logilab.fr
Wed Apr 12 11:45:47 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1491990133 -7200
#      Wed Apr 12 11:42:13 2017 +0200
# Node ID fc9d76402c135651147ff20abfabe1c482cbcb00
# Parent  f20afa7acf9a01d977a8539f0d48c4040341a62e
[pkg] Add a tox env to build the documentation

diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -29,5 +29,12 @@ commands = flake8 --exit-zero --show-sou
 format = pylint
 ignore = W503
 max-line-length = 100
 max-complexity = 12
 exclude = setup.py,doc/conf.py,cubicweb_sherpa/migration/*,.tox/*
+
+[testenv:doc]
+skip_install = true
+changedir = doc
+deps =
+  sphinx
+commands = sphinx-build -b html -d doctrees .  html


More information about the saem-devel mailing list