From 3ed18eb385b7100afd35c3c0e317d1ca29e18ba0 Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Mon, 6 Nov 2023 18:15:03 -0500 Subject: [PATCH] ENH: Quiet sphinx-build by redirecting to log file Signed-off-by: Michael Jackson --- wrapping/python/docs/Makefile.in | 2 +- wrapping/python/docs/make.bat.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wrapping/python/docs/Makefile.in b/wrapping/python/docs/Makefile.in index 7a25b36304..b6306d38ed 100644 --- a/wrapping/python/docs/Makefile.in +++ b/wrapping/python/docs/Makefile.in @@ -17,4 +17,4 @@ help: # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) > ${COMPLEX_SPHINX_DOCS_DIR}/sphinx_build_output.log 2>&1 diff --git a/wrapping/python/docs/make.bat.in b/wrapping/python/docs/make.bat.in index a1690ed97b..00f16edd38 100644 --- a/wrapping/python/docs/make.bat.in +++ b/wrapping/python/docs/make.bat.in @@ -25,7 +25,7 @@ if errorlevel 9009 ( exit /b 1 ) -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% > ${COMPLEX_SPHINX_DOCS_DIR}/sphinx_build_output.log goto end :help