We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b36cb commit d4e99fdCopy full SHA for d4e99fd
wdoc/wdoc.py
@@ -2067,7 +2067,7 @@ def source_replace(
2067
# if out_file is specified then we write the summary there too.
2068
if self.out_file:
2069
2070
- def output_handler(text: str) -> None:
+ def output_handler(text: str) -> str:
2071
# the raw markdown is written to the file
2072
# and the rendered markdown is printed on screen
2073
with open(self.out_file, "a") as f:
@@ -2076,7 +2076,7 @@ def output_handler(text: str) -> None:
2076
2077
else:
2078
2079
2080
return md_printer(text)
2081
2082
# display sources (i.e. documents used to answer)
0 commit comments