We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04bbea6 commit 9912628Copy full SHA for 9912628
templates/docusaurus/module.html.jinja2
@@ -5,7 +5,11 @@
5
6
{% block module_info %}
7
{% if module.docstring and ".. include::" not in module.docstring %}
8
-{{ module.docstring | safe }}
+{{ module.docstring
9
+ | replace('\n ', '\n ')
10
+ | replace('\n ', '\n- ')
11
+ | safe
12
+}}
13
{% endif %}
14
{% endblock %}
15
@@ -89,7 +93,11 @@ class {{ cls.qualname }}{{ class_bases(cls) }}:
89
93
```python
90
94
{% if doc.kind == "class" %}{{ class(doc) }}{% elif doc.kind == "function" %}{{ function(doc) }}{% else %}{{ variable(doc) }}{% endif %}
91
95
```
92
-{{ doc.docstring | safe }}
96
+{{ doc.docstring
97
98
99
100
101
{% enddefaultmacro %}
102
103
{% defaultmacro is_public(doc) %}
0 commit comments