summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/docgen.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/docgen.py b/doc/docgen.py
index e136932a5..544aafe53 100644
--- a/doc/docgen.py
+++ b/doc/docgen.py
@@ -72,7 +72,14 @@ except ImportError:
IMPORT_OK = False
# list of locales for which we want to build doc files to include
-LOCALE_LIST = ('en_US', 'fr_FR', 'it_IT', 'de_DE', 'ja_JP', 'pl_PL')
+LOCALE_LIST = (
+ 'de_DE',
+ 'en_US',
+ 'fr_FR',
+ 'it_IT',
+ 'ja_JP',
+ 'pl_PL',
+)
# all commands/options/.. of following plugins will produce a file
# non-listed plugins will be ignored
@@ -449,7 +456,7 @@ def docgen_cmd_cb(data, buf, args):
if args:
locales = args.split(' ')
else:
- locales = LOCALE_LIST
+ locales = sorted(LOCALE_LIST)
commands = get_commands()
options = get_options()
infos = get_infos()