From 1719267779d271b829e836bcdb67e83158711582 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Wed, 24 Jan 2018 23:50:05 +0100 Subject: [PATCH] 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. --- docs/templates/plugin.rst.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/templates/plugin.rst.j2 b/docs/templates/plugin.rst.j2 index 36fbe478251..c04ee4aa63e 100644 --- a/docs/templates/plugin.rst.j2 +++ b/docs/templates/plugin.rst.j2 @@ -98,7 +98,7 @@ Options {% endif %}
comments
- {% for key, value in options.items() recursive %} + {% for key, value in options|dictsort recursive %} {# parameter name with introduced label #} @@ -221,7 +221,7 @@ Common return values are documented :ref:`here `, the foll
type
sample
- {% for key, value in returndocs.items() recursive %} + {% for key, value in returndocs|dictsort recursive %}