smolagents/.github/workflows/build_documentation.yml
Mishig a826da9e98
Docs: build English only, other languages are machine-translated (#3091)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:19:38 +01:00

27 lines
No EOL
757 B
YAML

name: Build documentation
on:
push:
branches:
- main
- doc-builder*
- v*-release
- use_templates
paths:
- 'docs/source/**'
- 'assets/**'
- '.github/workflows/doc-build.yml'
- 'pyproject.toml'
jobs:
build:
uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@145b9d4f6ab65ad3af87c66773b2c43294e52446 # main
with:
commit_sha: ${{ github.sha }}
package: smolagents
path_to_docs: smolagents/docs/source/en/
notebook_folder: smolagents_doc
# additional_args: --not_python_module # use this arg if repository is documentation only
secrets:
token: ${{ secrets.HUGGINGFACE_PUSH }}
hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}