Skip to content

Commit

Permalink
Fix path comparison for Windows compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Feb 25, 2025
1 parent 144dcad commit ab648b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen/_website/generate_mkdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def filter_excluded_files(files: list[Path], exclusion_list: list[str], website_
return [
file
for file in files
if not any(str(file.relative_to(website_dir)).startswith(excl) for excl in exclusion_list)
if not any(Path(str(file.relative_to(website_dir))).as_posix().startswith(excl) for excl in exclusion_list)
]


Expand Down

0 comments on commit ab648b3

Please sign in to comment.