Enable Docs auto-fixes on repo branches (#16326)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
6e3b7dc2f6
commit
c5bee7545c
2 changed files with 10 additions and 2 deletions
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
|
|
@ -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…
Add table
Add a link
Reference in a new issue