PyDoc: disable ASAN exit code for doc building

Prevented docs from building on any minor issue when ASAN was enabled.
This commit is contained in:
Campbell Barton
2018-09-13 15:37:30 +10:00
parent 6873f47ede
commit ffe5b92325
2 changed files with 5 additions and 1 deletions

View File

@@ -455,6 +455,7 @@ update: .FORCE
# Simple version of ./doc/python_api/sphinx_doc_gen.sh with no PDF generation.
doc_py: .FORCE
ASAN_OPTIONS=halt_on_error=0 \
$(BLENDER_BIN) --background -noaudio --factory-startup \
--python doc/python_api/sphinx_doc_gen.py
cd doc/python_api ; sphinx-build -b html sphinx-in sphinx-out