diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-04-18 11:35:10 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-04-18 11:35:10 +0900 |
commit | 96c5605374135652cf7ec0ad517b532b9261ef19 (patch) | |
tree | 7eb53e2d5997bccfc36c61db9af7dc1fd934104d /sphinx/builders/htmlhelp.py | |
parent | b5ddc8c6977ac964e3ba4a2eb4647decdc742f4f (diff) | |
parent | adf5e9fda646cd93842a04fb6be730ea5f3193a2 (diff) | |
download | sphinx-git-96c5605374135652cf7ec0ad517b532b9261ef19.tar.gz |
Merge branch '1.7'
Diffstat (limited to 'sphinx/builders/htmlhelp.py')
-rw-r--r-- | sphinx/builders/htmlhelp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py index 8d4ded246..49d48361e 100644 --- a/sphinx/builders/htmlhelp.py +++ b/sphinx/builders/htmlhelp.py @@ -248,6 +248,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 \ |