Revert "qthelp: Fix URLs for project_files in Windows"

This reverts commit cb831bb703.
This commit is contained in:
Takeshi KOMIYA 2018-11-13 22:59:21 +09:00
parent a0aee7a0f3
commit 58208232d9

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