From d4fd512305296f5f7cf7881660ec3acc5c014760 Mon Sep 17 00:00:00 2001 From: gujin Date: Sun, 3 Nov 2019 02:37:53 +0800 Subject: [PATCH] tox: Keeping going with docs Change-Id: Ieb99efd35108f4cb53e4f3f29da2415ba4152a9c --- molecule-requirements.txt | 3 ++- tox.ini | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/molecule-requirements.txt b/molecule-requirements.txt index 65e981693..86d8362cc 100644 --- a/molecule-requirements.txt +++ b/molecule-requirements.txt @@ -12,7 +12,8 @@ netaddr jinja2>=2.8.0,<3 # this is required for the docs build jobs -sphinx +sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD +sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD openstackdocstheme>=1.29.2 # Apache-2.0 reno>=2.11.3 # Apache-2.0 doc8>=0.8.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 1f3b8ea7d..53c6e40fe 100644 --- a/tox.ini +++ b/tox.ini @@ -93,7 +93,7 @@ commands = basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = - sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html + sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html [testenv:docs] basepython = python3 @@ -101,7 +101,7 @@ deps = -r {toxinidir}/doc/requirements.txt commands= doc8 doc - sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html -T + sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html -T [doc8] # Settings for doc8: