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 )