Skip to content

Commit

Permalink
Merge pull request #1336 from bearsh/pathlib-fix
Browse files Browse the repository at this point in the history
* bearsh/pathlib-fix:
  starting with sphinx 7.2.0, root is a pathlib.Path not a string anymore

Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information
davvid committed Aug 23, 2023
2 parents 10b75d2 + 1293e18 commit d2a8b9b
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 = root + os.sep
self.root = str(root)
self.renamer = renamer

def path(self):
Expand Down

0 comments on commit d2a8b9b

Please sign in to comment.