Skip to content

Commit

Permalink
Fix tasks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Jun 26, 2024
1 parent bdbeadf commit f5910ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def make_doc(ctx: Context) -> None:
ctx.run("touch apidoc/index.rst", warn=True)
ctx.run("rm pymatgen.*.rst", warn=True)
# ctx.run("rm pymatgen.*.md", warn=True)
ctx.run("sphinx-apidoc --implicit-namespaces -M -d 7 -o apidoc -f ../pymatgen ../**/tests/*")
ctx.run("sphinx-apidoc --implicit-namespaces -M -d 7 -o apidoc -f ../src/pymatgen ../**/tests/*")

# Note: we use HTML building for the API docs to preserve search functionality.
ctx.run("sphinx-build -b html apidoc html") # HTML building.
Expand Down Expand Up @@ -94,7 +94,7 @@ def set_ver(ctx: Context, version: str):
with open("pyproject.toml", "w") as file:
file.write("\n".join(lines) + "\n")

ctx.run("ruff check --fix custodian")
ctx.run("ruff check --fix pymatgen")
ctx.run("ruff format pyproject.toml")


Expand Down

0 comments on commit f5910ef

Please sign in to comment.