Skip to content

Commit

Permalink
fix: docs build failed [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
datnguye committed Feb 18, 2024
1 parent a5de85e commit b9c9b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
def on_post_build(config, **kwargs):
site_dir = config["site_dir"]
subprocess.run(
["pdoc", "-t", "docs/assets/css", "dbterd/api/base.py", "-o", "target/pdoc"]
["pdoc", "-t", "./docs/assets/css", "./dbterd/api/base.py", "-o", "./target/pdoc"]
)
shutil.copytree("target/pdoc", os.path.join(site_dir, "api-docs"))

0 comments on commit b9c9b95

Please sign in to comment.