Skip to content

Commit

Permalink
reunification
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Jan 31, 2025
1 parent cb8c09c commit 9e286f5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions doc/.static/dochelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,15 @@ def generateParamTable(klass, fwParams, app=None):
defs[plugin] = pDefs

headerContent = """
.. container:: break_before ssp-landscape
.. list-table:: {} Parameters from {{}}
:class: ssp-tiny
:widths: 30 40 30
:header-rows: 1
* - Name
- Description
- Units
.. container:: break_before ssp-landscape
.. list-table:: {} Parameters from {{}}
:class: ssp-tiny
:widths: 30 40 30
:header-rows: 1
* - Name
- Description
- Units
""".format(
klass.__name__
)
Expand All @@ -166,9 +166,9 @@ def generateParamTable(klass, fwParams, app=None):
content.append(f".. _{srcName}-{klass.__name__}-param-table:")
pluginContent = headerContent.format(srcName)
for pd in pdefs:
pluginContent += f""" * - {pd.name}
- {escapeSpecialCharacters(str(pd.description))}
- {escapeSpecialCharacters(pd.units)}
pluginContent += f""" * - {pd.name}
- {escapeSpecialCharacters(str(pd.description))}
- {escapeSpecialCharacters(pd.units)}
"""
content.append(pluginContent + "\n")

Expand Down

0 comments on commit 9e286f5

Please sign in to comment.