Add Docs build to Ultralytics CI (#10388)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
99f8e863ed
commit
156b6be8d3
4 changed files with 19 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ def build_docs(clone_repos=True):
|
|||
|
||||
# Build the main documentation
|
||||
print(f"Building docs from {DOCS}")
|
||||
subprocess.run(f"mkdocs build -f {DOCS.parent}/mkdocs.yml", check=True, shell=True)
|
||||
subprocess.run(f"mkdocs build -f {DOCS.parent}/mkdocs.yml --strict", check=True, shell=True)
|
||||
print(f"Site built at {SITE}")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue