add huggingface_hub smart rate limit handling section in Rate Limit…
#803
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build documentation | |
| on: | |
| push: | |
| paths: | |
| - "docs/hub/**" | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main | |
| with: | |
| commit_sha: ${{ github.sha }} | |
| package: hub-docs | |
| package_name: hub | |
| path_to_docs: hub-docs/docs/hub/ | |
| additional_args: --not_python_module | |
| secrets: | |
| hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }} |