From becdf49dd70701d8c701f4421ca46399e4ac2404 Mon Sep 17 00:00:00 2001 From: Kristaps Jurkans Date: Tue, 10 Mar 2026 11:33:07 +0000 Subject: [PATCH] fix(docs): remove extra `str` call (#159) The `str()` call is already added by calling `DocsHelper._as_str_or_content()`, so having both causes an error which prevents docs from building. --- doc_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_utils.py b/doc_utils.py index f119794..765676f 100644 --- a/doc_utils.py +++ b/doc_utils.py @@ -134,7 +134,7 @@ class DocsHelper: desc_text = DocsHelper._as_str_or_content( DocsHelper._escape_characters_in_string(pin["desc"]) ) - pin_table += f'raw("{pin["ua_index"]}"), raw("{pin["analog_index"]}"), str("{desc_text}"),\n' + pin_table += f'raw("{pin["ua_index"]}"), raw("{pin["analog_index"]}"), {desc_text},\n' return pin_table @staticmethod