Skip to content

Commit

Permalink
Remove requirements file for building docs
Browse files Browse the repository at this point in the history
The preferred method of building the docs is through tox:

    $ python -m tox -e docs

There is no need for installing Sphinx or any other library directly.

On a semi-related note, the Read the Docs theme is no longer a
dependency of Sphinx and now needs to be included as a separate library
to install.
  • Loading branch information
dirn committed Mar 29, 2016
1 parent 6885e5f commit 0d76cf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions docs-requirements.txt

This file was deleted.

6 changes: 5 additions & 1 deletion tox.ini
Expand Up @@ -12,7 +12,11 @@ commands =

[testenv:docs]
basepython = python3.5
deps = -rdocs-requirements.txt
deps =
doc8
sphinx
sphinx_rtd_theme
sphinxcontrib-napoleon
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
doc8 --allow-long-titles README.rst docs/ --ignore-path docs/_build/
Expand Down

0 comments on commit 0d76cf9

Please sign in to comment.