Skip to content

Commit

Permalink
Update the parameters.html override
Browse files Browse the repository at this point in the history
To match the current version of mkdocstrings.

We previously introduced this override in #67 to remove the "Type"
column from the templated output. However, the underlying API has
changed. Therefore, this commit updates our override to match the
current version of the template.
  • Loading branch information
StevenMaude committed Jul 20, 2021
1 parent 2170f98 commit 76d7eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/python/material/parameters.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% for parameter in parameters %}
<tr>
<td><code>{{ parameter.name }}</code></td>
<td>{{ parameter.description|convert_markdown }}</td>
<td>{{ parameter.description|convert_markdown(heading_level, html_id) }}</td>
<td>{% if parameter.default %}<code>{{ parameter.default }}</code>{% else %}<em>required</em>{% endif %}</td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 76d7eca

Please sign in to comment.