Browse Source

Add docs environment

Change-Id: I93deef31ab30b1ce46c35f9c39242adfc4a3ae83
changes/03/311503/2
Christian Berendt 5 years ago
parent
commit
4396ade948
2 changed files with 5 additions and 1 deletions
  1. +2
    -1
      test-requirements.txt
  2. +3
    -0
      tox.ini

+ 2
- 1
test-requirements.txt View File

@ -10,4 +10,5 @@ hacking<0.11,>=0.10.0
pylint==1.4.5 # GNU GPL v2
reno>=1.6.2 # Apache2
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
oslosphinx>=2.5.0,!=3.4.0 # Apache-2.0
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 # BSD

+ 3
- 0
tox.ini View File

@ -32,6 +32,9 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8.


Loading…
Cancel
Save