Commit fd874d08 authored by Paul Brown's avatar Paul Brown

add docs build to tox, remove sphinx reqs from other tests

parent 453ef8a4
......@@ -12,6 +12,8 @@ matrix:
env: TOX_ENV=py27-WTForms2
- python: 2.7
env: TOX_ENV=flake8
- python: 2.7
env: TOX_ENV=docs-html
- python: 3.3
env: TOX_ENV=py33-WTForms1
- python: 3.3
......
......@@ -56,8 +56,7 @@ if you think of anything else that should be included, then please make the chan
To build the docs in your local environment, from the project directory::
pip install -r requirements-dev.txt
sudo make html
tox -e docs-html
And if you want to preview any *.rst* snippets that you may want to contribute, go to `http://rst.ninjs.org/ <http://rst.ninjs.org/>`_.
......
......@@ -12,7 +12,5 @@ shapely==1.5.9
geoalchemy2
psycopg2
nose
sphinx
sphinx-intl
coveralls
pylint
[tox]
envlist = py{26,27,33,34,35,36}-WTForms{1,2},flake8
envlist =
py{26,27,33,34,35,36}-WTForms{1,2}
flake8
docs-html
skipsdist = true
skip_missing_interpreters = true
......@@ -19,3 +22,9 @@ commands =
[testenv:flake8]
deps = flake8
commands = flake8 flask_admin
[testenv:docs-html]
deps =
sphinx
sphinx-intl
commands = sphinx-build -b html -d build/doctrees doc build/html
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment