Add requirements.txt to docs reqs

magnum-ui doc generated the module reference,
so requirements.txt should be here to apply upper-constraints.

Change-Id: I12a57a5d8a59dbc958512641a1ef49fee5c81152
This commit is contained in:
Akihiro Motoki 2019-12-28 23:30:51 +09:00
parent d96f4d16c2
commit 56af6c0230
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ commands =
[testenv:docs]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
# magnum-ui doc generated the module reference,
# so requirements.txt should be here to apply upper-constraints.
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands=
sphinx-build -W -b html doc/source doc/build/html