File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ instance/
7474/doc
7575/docusaurus
7676
77+ * .DS_Store
78+
7779# PyBuilder
7880.pybuilder /
7981target /
Original file line number Diff line number Diff line change @@ -209,7 +209,11 @@ See https://pdoc.dev/docs/pdoc/render_helpers.html#DefaultMacroExtension for an
209209{% enddefaultmacro %}
210210{% defaultmacro docstring (var ) %}
211211 {% if var .docstring %}
212- <div class =" docstring" >{{ var.docstring | to_markdown | to_html | linkify(namespace=var.qualname) }}</div >
212+ {% set processed_docstring = var .docstring
213+ | replace ('\n ' , '\n ' )
214+ | replace ('\n ' , '\n- ' )
215+ %}
216+ <div class =" docstring" >{{ processed_docstring | to_markdown | to_html | linkify(namespace=var.qualname) }}</div >
213217 {% endif %}
214218{% enddefaultmacro %}
215219{% defaultmacro nav_members (members ) %}
You can’t perform that action at this time.
0 commit comments