From 00acfe63d4e7128589be56c3480deece326f689b Mon Sep 17 00:00:00 2001 From: Nicholas Saylor <79181893+nicholassaylor@users.noreply.github.com> Date: Sat, 18 Oct 2025 21:40:25 -0400 Subject: [PATCH] WebHost: Update publish_parts parameters (#5544) old name is deprecated and new name allows both writer instance or alias/name. --- WebHostLib/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebHostLib/options.py b/WebHostLib/options.py index 2df2e64a..c2f1619f 100644 --- a/WebHostLib/options.py +++ b/WebHostLib/options.py @@ -76,7 +76,7 @@ def filter_rst_to_html(text: str) -> str: lines = text.splitlines() text = lines[0] + "\n" + dedent("\n".join(lines[1:])) - return publish_parts(text, writer_name='html', settings=None, settings_overrides={ + return publish_parts(text, writer='html', settings=None, settings_overrides={ 'raw_enable': False, 'file_insertion_enabled': False, 'output_encoding': 'unicode'