Skip to content

Commit f0fcb93

Browse files
chore: bump version 1.4.1
1 parent 05972d6 commit f0fcb93

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

doc/changelog.d/664.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
quarto std logging

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ theme-name = "ansys_sphinx_theme"
1111
[project]
1212
# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
1313
name = "ansys-sphinx-theme"
14-
version = "1.4.0"
14+
version = "1.4.1"
1515
description = "A theme devised by ANSYS, Inc. for Sphinx documentation."
1616
readme = "README.rst"
1717
requires-python = ">=3.10,<4"

src/ansys_sphinx_theme/cheatsheet.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,9 @@ def run_quarto_command(command: List[str], cwd: str) -> None:
108108
logger.info(result.stdout)
109109

110110
if result.stderr:
111-
if "error" or "failed" in result.stderr.lower():
112-
logger.error(result.stderr)
113-
else:
114-
# HACK: Quarto writes both stdout and stderr to stderr
115-
# so we need to log it as info if it's not an error
116-
logger.info(result.stderr)
111+
# HACK: Quarto writes both stdout and stderr to stderr
112+
# so we need to log it as info if it's not an error
113+
logger.info(result.stderr)
117114

118115
except subprocess.CalledProcessError as e:
119116
raise RuntimeError(f"Failed to run the command: {e}")

0 commit comments

Comments
 (0)