Use forward slashes in sphinx output

(cherry picked from commit 7b3a62102c)
This commit is contained in:
Robin Dunn
2018-11-08 20:30:01 -08:00
parent 74bc4b4f03
commit 79ddece4e9

View File

@@ -53,7 +53,8 @@ def makeHeadings():
if 'overload' in name or 'contributed' in name:
width = 16
text += templates.TEMPLATE_HEADINGS % (name, os.path.normpath(rel_path), width)
rel_path = os.path.normpath(rel_path).replace('\\', '/')
text += templates.TEMPLATE_HEADINGS % (name, rel_path, width)
writeIfChanged(heading_file, text)