Merge pull request #174 from JensTimmerman/patch-1
Update build_script
diff --git a/.travis.yml b/.travis.yml
index 1924463..b767c0c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -58,6 +58,9 @@
- python: "2.7"
env: TOXENV=pyroma
+
+ - python: "2.7"
+ env: TOXENV=docs
# Let the cryptography master builds fail because they might be triggered by
# cryptography changes beyond our control.
diff --git a/doc/conf.py b/doc/conf.py
index dd6a334..8277202 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -121,7 +121,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'classic'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
diff --git a/tox.ini b/tox.ini
index a2b1d72..61e8797 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = {pypy,py26,py27,py33,py34}{,-cryptographyMaster},pypi-readme,check-manifest,flake8,pyroma
+envlist = {pypy,py26,py27,py33,py34}{,-cryptographyMaster},pypi-readme,check-manifest,flake8,pyroma,docs
[testenv]
whitelist_externals =
@@ -43,3 +43,10 @@
check-manifest
commands =
check-manifest
+
+[testenv:docs]
+deps =
+ sphinx
+basepython = python2.7
+commands =
+ sphinx-build -W -b html doc doc/_build/html