mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5628 from tk0miya/5627_qthelp
Fix #5627: index.html missing in QtHelp
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -18,6 +18,7 @@ Bugs fixed
|
|||||||
|
|
||||||
* #5460: html search does not work with some 3rd party themes
|
* #5460: html search does not work with some 3rd party themes
|
||||||
* #5614: autodoc: incremental build is broken when builtin modules are imported
|
* #5614: autodoc: incremental build is broken when builtin modules are imported
|
||||||
|
* #5627: qthelp: index.html missing in QtHelp
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ class QtHelpBuilder(StandaloneHTMLBuilder):
|
|||||||
resourcedir = root.startswith((staticdir, imagesdir))
|
resourcedir = root.startswith((staticdir, imagesdir))
|
||||||
for fn in sorted(files):
|
for fn in sorted(files):
|
||||||
if (resourcedir and not fn.endswith('.js')) or fn.endswith('.html'):
|
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)
|
project_files.append(filename)
|
||||||
|
|
||||||
return project_files
|
return project_files
|
||||||
|
|||||||
Reference in New Issue
Block a user