Skip to content

Commit

Permalink
Use forward slashes in sphinx output
Browse files Browse the repository at this point in the history
(cherry picked from commit 7b3a621)
  • Loading branch information
RobinD42 committed Nov 9, 2018
1 parent 74bc4b4 commit 79ddece
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sphinxtools/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 79ddece

Please sign in to comment.