Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a3cc10

Browse files
committed
Ignore warning in make build
This happens because of sphinx-autorun
1 parent 326e823 commit 0a3cc10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ help:
4040
# treated as errors, which is good to skip simple Sphinx syntax mistakes.
4141
.PHONY: build
4242
build: setup
43-
PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML)
43+
PYTHONWARNINGS=ignore::FutureWarning,ignore::RuntimeWarning \
44+
sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML)
4445
@echo "Success! Open file://`pwd`/$(OUTPUT_HTML)/index.html, " \
4546
"or run 'make serve' to see them in http://localhost:8000";
4647

0 commit comments

Comments
 (0)