tox: Pin sphinx to 1.6
The 1.7 version adds many new warnings that we treat as errors.
@@ -27,13 +27,13 @@ commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
python -m unittest discover libcloud/test
[testenv:docs]
-deps = sphinx
- pysphere
+deps = pysphere
backports.ssl_match_hostname
lockfile
rstcheck
changedir = docs
-commands = rstcheck --report warning ../CHANGES.rst
+commands = pip install sphinx~=1.6.0
+ rstcheck --report warning ../CHANGES.rst
python ../contrib/generate_provider_feature_matrix_table.py
sphinx-apidoc -d 4 ../libcloud/ -o apidocs/
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
@@ -42,13 +42,13 @@ commands = rstcheck --report warning ../CHANGES.rst
[testenv:docs-travis]
# Note: We don't build API docs on Travis since it causes build failures because
# those API docs files are not included anywhere.
-deps = sphinx
- pysphere
+deps = pysphere
backports.ssl_match_hostname
lockfile
rstcheck
changedir = docs
-commands = rstcheck --report warning ../CHANGES.rst
+commands = pip install sphinx~=1.6.0
+ rstcheck --report warning ../CHANGES.rst
python ../contrib/generate_provider_feature_matrix_table.py
/bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
