Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% if parent.node_type == "const" %}
<div class="constant" id="constant-{{ parent.short_signature }}">
{% filter heading(heading_level, id=html_id ~ parent.name) %}{{ parent.short_signature }}{% endfilter %}
{% if parent.doc %}
<div class="docstring">
{{ parent.doc | markdown | safe }}
</div>
{% endif %}
{% include "docstring.html.jinja" %}
</div>
{% endif %}
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{% if data.doc %}
{% if parent.doc %}
<div class="docstring">
{{ data.doc | markdown | safe }}
{% if data.deprecated %}
<div class="admonition warning">
<p class="admonition-title">Deprecated</p>
{{ data.deprecated | markdown | safe }}
</div>
{% endif %}
{{ parent.doc | markdown | safe }}
</div>
{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@
</div>
{% endif %}

{% if parent.doc %}
<div class="docstring">
{{ parent.doc | markdown | safe }}
</div>
{% endif %}

{% include "docstring.html.jinja" %}
{% include "parameters.html.jinja" %}

{% with parent = parent.return_struct, heading_level = heading_level + 1 %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% endblock logs %}

<div class="doc doc-object doc-data">
{% with obj = data, html_id = data.path %}
{% with parent = data, html_id = data.path %}
{% include "heading.html.jinja" %}

{% with heading_level=heading_level+1 %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
{% filter heading(heading_level, id=html_id ~ parent.name) %}{{ parent.short_signature }}{% endfilter %}
{% endif %}

{% if parent.doc %}
<div class="docstring">
{% with heading_level=heading_level + 1 %}
{{ parent.doc | markdown | safe }}
{% endwith %}
</div>
{% endif %}
{% include "docstring.html.jinja" %}

{% for child in parent.children %}
{% with parent = child, heading_level = heading_level + 1 %}
Expand Down
Loading