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:
Dag Wieers 2018-01-24 23:50:05 +01:00 committed by Toshio Kuratomi
parent ea7d29e262
commit 1719267779

View file

@ -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">