chore(deps-dev): bump ruff from 0.14.13 to 0.15.1 (#108) #52
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: Documentation | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| update-docs: | |
| name: Generate Docs | |
| runs-on: ubuntu-latest | |
| environment: docs | |
| steps: | |
| - name: Checkout fish-audio-python | |
| uses: actions/checkout@v6 | |
| with: | |
| path: sdk | |
| persist-credentials: false | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: "3" | |
| - name: Install dependencies | |
| working-directory: sdk | |
| run: uv sync | |
| - name: Generate API documentation | |
| working-directory: sdk | |
| run: uv run pydoc-markdown | |
| - name: Checkout docs | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: ${{ vars.DOCS_REPO }} | |
| path: docs | |
| persist-credentials: false | |
| - name: Copy generated documentation | |
| run: uv run python sdk/scripts/copy_docs.py sdk docs | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v8 | |
| with: | |
| token: ${{ secrets.DOCS_TOKEN }} | |
| path: docs | |
| commit-message: | | |
| chore: update Python SDK API reference | |
| Auto-generated from fishaudio/fish-audio-python@${{ github.sha }} | |
| author: ${{ vars.BOT_NAME }} <${{ vars.BOT_EMAIL }}> | |
| committer: ${{ vars.BOT_NAME }} <${{ vars.BOT_EMAIL }}> | |
| branch: auto/python-api-docs | |
| delete-branch: true | |
| title: "Update Python SDK API Reference" | |
| body: | | |
| Auto-generated API documentation update from [fish-audio-python@${{ github.sha }}](https://github.com/fishaudio/fish-audio-python/commit/${{ github.sha }}) | |
| ## Changes | |
| - Updated API reference documentation for Python SDK | |
| - Generated from latest docstrings in the codebase | |
| labels: | | |
| python |