Skip to content

Commit

Permalink
Update path
Browse files Browse the repository at this point in the history
  • Loading branch information
kabilar committed Jan 16, 2025
1 parent 9d0c233 commit b9c0897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/scripts/gen_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

for path in sorted(src.rglob("*.py")):
module_path = path.relative_to(src).with_suffix("")
doc_path = path.relative_to(src).with_suffix(".md")
full_doc_path = Path(root, "docs/api", doc_path)
doc_path = "api" / path.relative_to(src).with_suffix(".md")
full_doc_path = Path(root, "docs", doc_path)
parts = tuple(module_path.parts)

if parts[-1] == "__init__":
Expand Down

0 comments on commit b9c0897

Please sign in to comment.