Skip to content

Commit

Permalink
Deployed b3d6043 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Oct 31, 2023
1 parent e1c5d8d commit fdc7d03
Show file tree
Hide file tree
Showing 93 changed files with 9,623 additions and 8,305 deletions.
18 changes: 9 additions & 9 deletions _templates/python/material/_base/docstring/parameters.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,33 @@ <h5>{{ section.title or "Parameters" }}</h5>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Parameter</th>
<th>Default</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{% for parameter in section.value %}
<tr>
<td><code>{{ parameter.name }}</code></td>
<td>
<strong><code>{{ parameter.name }}</code></strong>
<br>
{% if parameter.annotation %}
{% with expression = parameter.annotation %}
<code>{% include "expression.html" with context %}</code>
{% endwith %}
{% endif %}
</td>
<td>{{ parameter.description|convert_markdown(heading_level, html_id) }}</td>
<td>
{% if parameter.default %}
{% with expression = parameter.default %}
<code>{% include "expression.html" with context %}</code>
{% endwith %}
{% with expression = parameter.default %}
<code>{% include "expression.html" with context %}</code>
{% endwith %}
{% else %}
<em>required</em>
<em>required</em>
{% endif %}
</td>
<td>{{ parameter.description|convert_markdown(heading_level, html_id) }}</td>
</tr>
{% endfor %}
</tbody>
Expand Down
Loading

0 comments on commit fdc7d03

Please sign in to comment.