Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit 5915ab2

Browse files
committed
sphinxtogithub: add support for Sphinx 7.2.0
Newer versions of sphinx use a pathlib.Path object instead of a string for the "root" parameter. Add compatibility by stringifying the value provided by Sphinx. See-also: sphinx-doc/sphinx#11526 See-also: sphinx-doc/sphinx#11608 See-also: git-cola/git-cola#1336 Original-patch-by: Martin Gysel <me@bearsh.org>
1 parent 0db213f commit 5915ab2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sphinxtogithub/sphinxtogithub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(self, name, root, renamer):
107107

108108
self.name = name
109109
self.new_name = name[1:]
110-
self.root = root + os.sep
110+
self.root = str(root) + os.sep
111111
self.renamer = renamer
112112

113113
def path(self):

0 commit comments

Comments
 (0)