Enable Docs auto-fixes on repo branches (#16326)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
action-recog
Glenn Jocher 5 months ago committed by fcakyon
parent 445043be6e
commit bc7961acc4
  1. 4
      .github/workflows/docs.yml
  2. 8
      docs/en/reference/nn/tasks.md

@ -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

@ -47,6 +47,14 @@ keywords: Ultralytics, YOLO, nn tasks, DetectionModel, PoseModel, RTDETRDetectio
<br><br><hr><br>
## ::: ultralytics.nn.tasks.SafeClass
<br><br><hr><br>
## ::: ultralytics.nn.tasks.SafeUnpickler
<br><br><hr><br>
## ::: ultralytics.nn.tasks.temporary_modules
<br><br><hr><br>

Loading…
Cancel
Save