Merge pull request #405 from nephila/hotfix/rtd

Pin django version in tox docs
This commit is contained in:
Iacopo Spalletti 2018-01-02 11:47:21 +01:00 committed by GitHub
commit 9c61273e3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -20,8 +20,9 @@ import shlex
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../tests'))
parent = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
sys.path.insert(0, parent)
sys.path.insert(0, os.path.join(parent, 'tests'))
import cms_helper
import djangocms_blog

3
requirements-docs.txt Normal file
View File

@ -0,0 +1,3 @@
-r requirements-test.txt
Django<2.0
html5lib<0.99999999

View File

@ -47,9 +47,7 @@ skip_install = true
deps =
sphinx
sphinx-rtd-theme
html5lib<0.99999999
Django>=1.9,<1.10
-rrequirements-test.txt
-rrequirements-docs.txt
changedir=docs
skip_install = true
commands=