Skip to content

Commit

Permalink
Fix PosixPath issue with Sphinx 7.2 (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottamain authored Jul 30, 2024
1 parent 09c856b commit caa8dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion breathe/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, app: Sphinx):
# Assume general build directory is the doctree directory without the last component.
# We strip off any trailing slashes so that dirname correctly drops the last part.
# This can be overridden with the breathe_build_directory config variable
self._default_build_dir = os.path.dirname(app.doctreedir.rstrip(os.sep))
self._default_build_dir = os.path.dirname(str(app.doctreedir).rstrip(os.sep))
self.project_count = 0
self.project_info_store: Dict[str, ProjectInfo] = {}
self.project_info_for_auto_store: Dict[str, AutoProjectInfo] = {}
Expand Down

0 comments on commit caa8dc4

Please sign in to comment.