* Fix doc build actions
* Add remaining doc gh ymls
--- /dev/null
+name: Build documentation
+
+on:
+ push:
+ branches:
+ - main
+ - doc-builder*
+ - v*-release
+ - use_templates
+
+jobs:
+ build:
+ uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main
+ with:
+ commit_sha: ${{ github.sha }}
+ package: safetensors
+ package_path: safetensors/bindings/python/
+ install_rust: true
jobs:
build:
- uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@safetensors
+ uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
with:
commit_sha: ${{ github.event.pull_request.head.sha }}
pr_number: ${{ github.event.number }}
--- /dev/null
+name: Delete dev documentation
+
+on:
+ pull_request:
+ types: [ closed ]
+
+
+jobs:
+ delete:
+ uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main
+ with:
+ pr_number: ${{ github.event.number }}
+ package: safetensors
\ No newline at end of file