summaryrefslogtreecommitdiff
path: root/sphinx/builders/htmlhelp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-12-31 20:43:16 +0900
committerGitHub <noreply@github.com>2017-12-31 20:43:16 +0900
commit1cae50f74833fc3506ebee19462e0a1457638352 (patch)
tree5e7b9714b84288b1ca04438b73611a78aa4c23df /sphinx/builders/htmlhelp.py
parent1b664248f4ed5e00f89574bd6568e86b29a9df0f (diff)
parent0059c05a857f4144e4eea8b3d2908e906cf7de49 (diff)
downloadsphinx-git-1cae50f74833fc3506ebee19462e0a1457638352.tar.gz
Merge branch 'stable' into 4a164170-33e9-4df3-aad2-a13af37b6b43
Diffstat (limited to 'sphinx/builders/htmlhelp.py')
-rw-r--r--sphinx/builders/htmlhelp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py
index 764b01aae..c2e3bbe2c 100644
--- a/sphinx/builders/htmlhelp.py
+++ b/sphinx/builders/htmlhelp.py
@@ -246,7 +246,7 @@ class HTMLHelpBuilder(StandaloneHTMLBuilder):
olen = len(outdir)
for root, dirs, files in os.walk(outdir):
staticdir = root.startswith(path.join(outdir, '_static'))
- for fn in files:
+ for fn in sorted(files):
if (staticdir and not fn.endswith('.js')) or \
fn.endswith('.html'):
print(path.join(root, fn)[olen:].replace(os.sep, '\\'),