docs: add linkcheck
This commit is contained in:
parent
3fcadaf275
commit
ab99be2fa7
3 changed files with 23 additions and 1 deletions
8
tasks.py
8
tasks.py
|
@ -108,6 +108,14 @@ def mkdocs(c: Any) -> None:
|
|||
c.run("nix develop .#mkdocs -c mkdocs serve")
|
||||
|
||||
|
||||
@task
|
||||
def docs_linkcheck(c: Any) -> None:
|
||||
"""
|
||||
Run docs online linkchecker
|
||||
"""
|
||||
c.run("nix run .#docs-linkcheck.online")
|
||||
|
||||
|
||||
def get_hosts(hosts: str) -> List[DeployHost]:
|
||||
if hosts == "":
|
||||
res = subprocess.run(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue