mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Revert "qthelp: Fix URLs for project_files in Windows"
This reverts commit cb831bb703
.
This commit is contained in:
parent
a0aee7a0f3
commit
58208232d9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user