From b53091fd4b25a6c1ba84b2859754143606f8f40e 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: I75ca305e9f5c994f06ccfbfebb1ef53d36e83dfd --- doc/requirements.txt | 2 +- tox.ini | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index e50daada..8c4bb666 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -3,7 +3,7 @@ # process, which may cause wedges in the gate later. sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD -sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD +sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD sphinxcontrib-mermaid>=0.3.1 # BSD requests diff --git a/tox.ini b/tox.ini index e711dd9e..097c482e 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = - sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html + sphinx-build -a -E -W -d doc/build/doctrees --keep-going -b html doc/source doc/build/html [testenv:pdf-docs] basepython = python3 @@ -31,7 +31,7 @@ description = envdir = {toxworkdir}/docs deps = {[testenv:docs]deps} commands = - sphinx-build -b latex doc/source doc/build/pdf + sphinx-build --keep-going -b latex doc/source doc/build/pdf make -C doc/build/pdf [testenv:pep8] @@ -51,7 +51,7 @@ exclude = .tox,dist,*.egg,build basepython = python3 deps = {[testenv:docs]deps} -commands = sphinx-build -a -E -W -d deploy-guide/build/doctrees -b html deploy-guide/source deploy-guide/build/html +commands = sphinx-build -a -E -W -d deploy-guide/build/doctrees --keep-going -b html deploy-guide/source deploy-guide/build/html [testenv:bindep] # Do not install any requirements. We want this to be fast and work even if