diff --git a/docs/README.rst b/docs/README.rst index 733af2af4..0a343cd19 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -11,11 +11,11 @@ Setup the environment --------------------- To compile the documentation you need Sphinx Python library. To install it -and all its dependencies run +and all its dependencies run the following command from this dir :: - pip install 'Sphinx >= 1.3' + pip install -r requirements.txt Compile the documentation diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..d3dcb97be --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +Sphinx>=1.3 +sphinx_rtd_theme \ No newline at end of file diff --git a/tox.ini b/tox.ini index bbf50b733..6987847f8 100644 --- a/tox.ini +++ b/tox.ini @@ -82,8 +82,7 @@ deps = {[testenv:py33]deps} [docs] changedir = docs deps = - Sphinx - sphinx_rtd_theme + -rdocs/requirements.txt [testenv:docs] changedir = {[docs]changedir}