Skip to content

Commit

Permalink
ENH: Quiet sphinx-build by redirecting to log file
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson committed Nov 6, 2023
1 parent 67523f3 commit 3ed18eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wrapping/python/docs/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion wrapping/python/docs/make.bat.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ed18eb

Please sign in to comment.