From ef85f747169b34dce0f04ad4d5242a28918e9e12 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 25 May 2024 21:47:10 +0200 Subject: [PATCH] Add UltralyticsAssistant to mkdocs_github_authors.yaml (#13129) --- .github/workflows/ci.yaml | 1 + docs/build_reference.py | 4 ++-- docs/mkdocs_github_authors.yaml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 81ff3f2b4..2b036d594 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 f15e1b1c6..26ab538ee 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 1584fc99d..3e16f2aec 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