mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
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.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user