Merge pull request #4838 from bmwiedemann/hhp

Sort .hhp file list
This commit is contained in:
Takeshi KOMIYA
2018-04-15 13:36:38 +09:00
committed by GitHub

View File

@@ -247,6 +247,8 @@ class HTMLHelpBuilder(StandaloneHTMLBuilder):
outdir += os.sep
olen = len(outdir)
for root, dirs, files in os.walk(outdir):
dirs.sort()
files.sort()
staticdir = root.startswith(path.join(outdir, '_static'))
for fn in sorted(files):
if (staticdir and not fn.endswith('.js')) or \