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 # 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. # 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('..')) parent = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
sys.path.insert(0, os.path.abspath('../tests')) sys.path.insert(0, parent)
sys.path.insert(0, os.path.join(parent, 'tests'))
import cms_helper import cms_helper
import djangocms_blog 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 = deps =
sphinx sphinx
sphinx-rtd-theme sphinx-rtd-theme
html5lib<0.99999999 -rrequirements-docs.txt
Django>=1.9,<1.10
-rrequirements-test.txt
changedir=docs changedir=docs
skip_install = true skip_install = true
commands= commands=