diff options
-rw-r--r-- | GNUmakefile | 1 | ||||
-rwxr-xr-x | doc/python_api/sphinx_doc_gen.sh | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 4b90e07cda6..f43da278f7e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -462,6 +462,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 diff --git a/doc/python_api/sphinx_doc_gen.sh b/doc/python_api/sphinx_doc_gen.sh index 598b133af80..4b7569f7d54 100755 --- a/doc/python_api/sphinx_doc_gen.sh +++ b/doc/python_api/sphinx_doc_gen.sh @@ -58,7 +58,10 @@ SPHINX_WORKDIR="$(mktemp --directory --suffix=.sphinx)" # Generate reStructuredText (blender/python only) if $DO_EXE_BLENDER ; then - # don't delete existing docs, now partial updates are used for quick builds. + # Don't delete existing docs, now partial updates are used for quick builds. + # + # Disable ASAN error halt since it results in nonzero exit code on any minor issue. + ASAN_OPTIONS=halt_on_error=0 \ $BLENDER_BIN \ --background \ -noaudio \ |