From e737a8c32540715677eb738dc4ce7394bca75397 Mon Sep 17 00:00:00 2001 From: Jonathan Guyer Date: Mon, 11 Sep 2023 11:22:41 -0400 Subject: [PATCH] Get output from build_docs --- ntd2d/ntd2d_action/sphinxdocs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ntd2d/ntd2d_action/sphinxdocs.py b/ntd2d/ntd2d_action/sphinxdocs.py index 3892339..fedd2ce 100644 --- a/ntd2d/ntd2d_action/sphinxdocs.py +++ b/ntd2d/ntd2d_action/sphinxdocs.py @@ -76,6 +76,8 @@ def build_docs(self, build_command): build_command, env=dict(os.environ, SPHINXOPTS=sphinx_options), cwd=self.docs_dir.as_posix(), + bufsize=1, + text=True, check=True ) else: @@ -85,6 +87,8 @@ def build_docs(self, build_command): subprocess.run( build_command, cwd=self.docs_dir.as_posix(), + bufsize=1, + text=True, check=True )