From d660ba856d1ed2e4524527f3d6208143358c6615 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Thu, 4 Jun 2015 16:04:24 +0200 Subject: [PATCH] sort modules in module reference --- doc/extract_rst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/extract_rst.py b/doc/extract_rst.py index d2e1169..0d6dd80 100644 --- a/doc/extract_rst.py +++ b/doc/extract_rst.py @@ -56,7 +56,7 @@ def main(): files = glob.glob('%s/*.cmake' % os.path.join(THIS_DIR, '..', 'modules')) - for f in files: + for f in sorted(files): file_name = ntpath.basename(f) output.append('\n\n%s' % file_name) output.append('-'*len(file_name))