# HG changeset patch # User Denis Laxalde # Date 1490193800 -3600 # Node ID 09da91a5077b4136234b78a09486b1bb4426238a # Parent 3c9e296f0a6a7e1f2ec64bb1317eec6fec4e16be [tox] Install "pyramid" dependencies in "doc" environment Otherwise most of the cubicweb.pyramid API doc fails to build. For this we skip installation in the "doc" environment and source the new requirements/doc.txt which will install cubicweb[pyramid], thus pulling cubicweb plus pyramid's dependencies. Furthermore this requirements/doc.txt would be useful to build to documentation on readthedocs. diff -r 3c9e296f0a6a -r 09da91a5077b requirements/doc.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/requirements/doc.txt Wed Mar 22 15:43:20 2017 +0100 @@ -0,0 +1,1 @@ +.[pyramid] diff -r 3c9e296f0a6a -r 09da91a5077b tox.ini --- a/tox.ini Tue Mar 07 13:13:23 2017 +0100 +++ b/tox.ini Wed Mar 22 15:43:20 2017 +0100 @@ -26,9 +26,11 @@ commands = /bin/sh -c "flake8 `xargs -a {toxinidir}/flake8-ok-files.txt`" [testenv:doc] +skip_install = true changedir = doc deps = sphinx + -r{toxinidir}/requirements/doc.txt commands = {envpython} -c 'import sphinx; sphinx.main()' -b html -d {envtmpdir}/doctrees . {envtmpdir}/html