Create Keyword Documentation File #7
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: Create Keyword Documentation File | |
| on: | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| create_documents: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.ref }} | |
| fetch-depth: 0 | |
| - uses: astral-sh/setup-uv@v7.6.0 | |
| with: | |
| version: 0.11.2 | |
| python-version: 3.14 | |
| - name: install project | |
| run: uv sync | |
| - name: Generate Robot Framework Libdoc | |
| run: | | |
| VERSION=$(uv version --short) | |
| uv run libdoc --version "$VERSION" src/JsonSchemaValidator docs/index.html | |
| - name: Commit generated Libdoc | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: "docs(robot): update libdoc" | |
| file_pattern: docs/index.html |