From c5bee7545cb5fe26e201c593f3920b4b462c73c1 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 17 Sep 2024 21:06:31 +0200 Subject: [PATCH] Enable Docs auto-fixes on repo branches (#16326) Co-authored-by: UltralyticsAssistant --- .github/workflows/docs.yml | 4 ++-- docs/en/reference/nn/tasks.md | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 29012253..02bc506a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -48,7 +48,7 @@ jobs: continue-on-error: true run: ruff check --fix --unsafe-fixes --select D --ignore=D100,D104,D203,D205,D212,D213,D401,D406,D407,D413 . - name: Update Docs Reference Section and Push Changes - if: github.event_name == 'pull_request_target' + continue-on-error: true run: | python docs/build_reference.py git pull origin ${{ github.head_ref || github.ref }} @@ -68,7 +68,7 @@ jobs: python docs/build_docs.py - name: Commit and Push Docs changes continue-on-error: true - if: always() && github.event_name == 'pull_request_target' + if: always() run: | git pull origin ${{ github.head_ref || github.ref }} git add --update # only add updated files diff --git a/docs/en/reference/nn/tasks.md b/docs/en/reference/nn/tasks.md index 8e608885..ebfe8032 100644 --- a/docs/en/reference/nn/tasks.md +++ b/docs/en/reference/nn/tasks.md @@ -47,6 +47,14 @@ keywords: Ultralytics, YOLO, nn tasks, DetectionModel, PoseModel, RTDETRDetectio



+## ::: ultralytics.nn.tasks.SafeClass + +



+ +## ::: ultralytics.nn.tasks.SafeUnpickler + +



+ ## ::: ultralytics.nn.tasks.temporary_modules