Fix path resolution during 'sphinx.cmd.make_mode' cleanup (#13158)

This commit is contained in:
James Addison 2025-01-03 05:45:58 +00:00 committed by GitHub
parent fddbd7d151
commit f59f978555
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ class Make:
return 1
print("Removing everything under '%s'..." % self.build_dir)
for item in self.build_dir.iterdir():
rmtree(self.build_dir_join(item))
rmtree(item)
return 0
def build_help(self) -> None: