diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 81ff3f2b..2b036d59 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -39,6 +39,7 @@ on: jobs: Docs: + if: github.repository == 'ultralytics/ultralytics' runs-on: macos-14 steps: - name: Checkout Repository diff --git a/docs/build_reference.py b/docs/build_reference.py index f15e1b1c..26ab538e 100644 --- a/docs/build_reference.py +++ b/docs/build_reference.py @@ -43,8 +43,8 @@ def create_markdown(py_filepath: Path, module_path: str, classes: list, function for part in header_parts: if "description:" in part or "comments:" in part: header_content += f"---{part}---\n\n" - if not any(header_content): - header_content = "---\ndescription: TODO ADD DESCRIPTION\nkeywords: TODO ADD KEYWORDS\n---\n\n" + if not any(header_content): + header_content = "---\ndescription: TODO ADD DESCRIPTION\nkeywords: TODO ADD KEYWORDS\n---\n\n" module_name = module_path.replace(".__init__", "") module_path = module_path.replace(".", "/") diff --git a/docs/mkdocs_github_authors.yaml b/docs/mkdocs_github_authors.yaml index 1584fc99..3e16f2ae 100644 --- a/docs/mkdocs_github_authors.yaml +++ b/docs/mkdocs_github_authors.yaml @@ -28,4 +28,5 @@ plashchynski@gmail.com: plashchynski priytosh.revolution@live.com: priytosh-tripathi shuizhuyuanluo@126.com: null stormsson@users.noreply.github.com: stormsson +web@ultralytics.com: UltralyticsAssistant xinwang614@gmail.com: GreatV