Merge pull request #5628 from tk0miya/5627_qthelp

Fix #5627: index.html missing in QtHelp
This commit is contained in:
Takeshi KOMIYA
2018-11-14 23:45:45 +09:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ Bugs fixed
* #5460: html search does not work with some 3rd party themes
* #5614: autodoc: incremental build is broken when builtin modules are imported
* #5627: qthelp: index.html missing in QtHelp
Testing
--------

View File

@@ -269,7 +269,7 @@ class QtHelpBuilder(StandaloneHTMLBuilder):
resourcedir = root.startswith((staticdir, imagesdir))
for fn in sorted(files):
if (resourcedir and not fn.endswith('.js')) or fn.endswith('.html'):
filename = posixpath.join(root, fn)[olen:]
filename = path.join(root, fn)[olen:]
project_files.append(filename)
return project_files