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
|
|
@ -50,7 +50,8 @@ def create_markdown(py_filepath: Path, module_path: str, classes: list, function
|
|||
title_content = (
|
||||
f"# Reference for `{module_path}.py`\n\n"
|
||||
f"!!! Note\n\n"
|
||||
f" This file is available at [{url}]({url}). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request]({edit}) 🛠️. Thank you 🙏!\n\n"
|
||||
f" This file is available at [{url}]({url}). If you spot a problem please help fix it by [contributing]"
|
||||
f"(https://docs.ultralytics.com/help/contributing/) a [Pull Request]({edit}) 🛠️. Thank you 🙏!\n\n"
|
||||
)
|
||||
md_content = ["<br><br>\n"] + [f"## ::: {module_name}.{class_name}\n\n<br><br>\n" for class_name in classes]
|
||||
md_content.extend(f"## ::: {module_name}.{func_name}\n\n<br><br>\n" for func_name in functions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue