docs(pyargus): create initial documentation for pyargus
This commit is contained in:
parent
d39e3d3e12
commit
69c6c6abc2
7 changed files with 241 additions and 2 deletions
14
noxfile.py
14
noxfile.py
|
|
@ -37,6 +37,20 @@ def dev(session: nox.Session):
|
|||
session.run("pre-commit", "install")
|
||||
|
||||
|
||||
@nox.session
|
||||
def docs(session: nox.Session):
|
||||
session.conda_install(
|
||||
"sphinx",
|
||||
"pydata-sphinx-theme",
|
||||
"sphinx-copybutton",
|
||||
"myst-parser",
|
||||
)
|
||||
session.install("sphinx-autoapi")
|
||||
with session.chdir(CURRENT_DIR / "pyargus"):
|
||||
session.install("-e", ".")
|
||||
session.run("sphinx-build", "-b", "html", "docs", "docs/_build/html")
|
||||
|
||||
|
||||
@nox.session(tags=["style", "fix", "rust"], python=False)
|
||||
def rustfmt(session: nox.Session):
|
||||
if len(session.posargs) > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue