Skip to content

Commit

Permalink
sphinxtogithub: keep the trailing / separator
Browse files Browse the repository at this point in the history
def relative_path() relies on being able to replace values
including the / separator. Keep it there to retain the
original behavior.

Related-to: #1336
Ref: 1293e18
Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information
davvid committed Aug 23, 2023
1 parent 63c692a commit a4b0d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/sphinxtogithub/sphinxtogithub.py
Expand Up @@ -97,7 +97,7 @@ class DirectoryHandler:
def __init__(self, name, root, renamer):
self.name = name
self.new_name = name[1:]
self.root = str(root)
self.root = str(root) + os.sep
self.renamer = renamer

def path(self):
Expand Down

0 comments on commit a4b0d27

Please sign in to comment.