From 42b7fb8b95edd0db601d92d0abd6c56f6f33902f Mon Sep 17 00:00:00 2001 From: gujin Date: Fri, 1 Nov 2019 11:39:08 +0800 Subject: [PATCH] tox: Keeping going with docs Change-Id: I48463714ce0e1519c1f8c1def15d38b1395238fe --- doc/requirements.txt | 2 +- lower-constraints.txt | 2 +- tox.ini | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 4addcd8c7..ecc028876 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. # this is required for the docs build jobs -sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2 # BSD +sphinx>=1.8.0,!=2.1.0 # BSD sphinxcontrib-apidoc>=0.2.0 # BSD openstackdocstheme>=1.11.0 # Apache-2.0 reno>=1.8.0 # Apache-2.0 diff --git a/lower-constraints.txt b/lower-constraints.txt index a6f8c7389..876ea66fe 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -139,7 +139,7 @@ simplegeneric==0.8.1 simplejson==3.13.2 smmap2==2.0.3 snowballstemmer==1.2.1 -Sphinx==1.6.2 +Sphinx==1.8.0 sphinxcontrib-websupport==1.0.1 SQLAlchemy==1.0.10 sqlalchemy-migrate==0.11.0 diff --git a/tox.ini b/tox.ini index ffd428292..f84ca38a5 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ commands = basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = - sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html + sphinx-build -W -d doc/build/doctrees --keep-going -b html doc/source/ doc/build/html [testenv:pdf-docs] basepython = python3 @@ -65,7 +65,7 @@ deps = {[testenv:docs]deps} whitelist_externals = make commands = - sphinx-build -W -b latex doc/source doc/build/pdf + sphinx-build -W --keep-going -b latex doc/source doc/build/pdf make -C doc/build/pdf [testenv:debug] @@ -128,7 +128,7 @@ commands = [testenv:releasenotes] 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 +commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html [testenv:genconfig] basepython = python3 @@ -146,7 +146,7 @@ basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf api-ref/build - sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html + sphinx-build -W --keep-going -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html [testenv:lower-constraints] basepython = python3