mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
commit
4a3b4a90da
@ -247,6 +247,8 @@ class HTMLHelpBuilder(StandaloneHTMLBuilder):
|
|||||||
outdir += os.sep
|
outdir += os.sep
|
||||||
olen = len(outdir)
|
olen = len(outdir)
|
||||||
for root, dirs, files in os.walk(outdir):
|
for root, dirs, files in os.walk(outdir):
|
||||||
|
dirs.sort()
|
||||||
|
files.sort()
|
||||||
staticdir = root.startswith(path.join(outdir, '_static'))
|
staticdir = root.startswith(path.join(outdir, '_static'))
|
||||||
for fn in sorted(files):
|
for fn in sorted(files):
|
||||||
if (staticdir and not fn.endswith('.js')) or \
|
if (staticdir and not fn.endswith('.js')) or \
|
||||||
|
Loading…
Reference in New Issue
Block a user