Sort arguments and return values in module docs
Comparing the old module docs, with the devel docs the options/arguments/parameters are no longer sorted. Also, both in the old module docs and the devel docs the result values are not sorted where they probably should.
This commit is contained in:
parent
ea7d29e262
commit
1719267779
1 changed files with 2 additions and 2 deletions
4
docs/templates/plugin.rst.j2
vendored
4
docs/templates/plugin.rst.j2
vendored
|
@ -98,7 +98,7 @@ Options
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<th class="head"><div class="cell-border">comments</div></th>
|
<th class="head"><div class="cell-border">comments</div></th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for key, value in options.items() recursive %}
|
{% for key, value in options|dictsort recursive %}
|
||||||
<tr class="return-value-column">
|
<tr class="return-value-column">
|
||||||
{# parameter name with introduced label #}
|
{# parameter name with introduced label #}
|
||||||
<td>
|
<td>
|
||||||
|
@ -221,7 +221,7 @@ Common return values are documented :ref:`here <common_return_values>`, the foll
|
||||||
<th class="head"><div class="cell-border">type</div></th>
|
<th class="head"><div class="cell-border">type</div></th>
|
||||||
<th class="head"><div class="cell-border">sample</div></th>
|
<th class="head"><div class="cell-border">sample</div></th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for key, value in returndocs.items() recursive %}
|
{% for key, value in returndocs|dictsort recursive %}
|
||||||
<tr class="return-value-column">
|
<tr class="return-value-column">
|
||||||
<td>
|
<td>
|
||||||
<div class="outer-elbow-container">
|
<div class="outer-elbow-container">
|
||||||
|
|
Loading…
Reference in a new issue