move validation to type #55
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: | |
| pull_request: | |
| env: | |
| UV_PYTHON_PREFERENCE: only-system | |
| UV_NO_SYNC: 1 | |
| SWAGGER_UI_RELEASE: "5.30.3" | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Acquire sources | |
| uses: actions/[email protected] | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/[email protected] | |
| with: | |
| python-version: "3.14" | |
| architecture: x64 | |
| - name: Install uv | |
| uses: astral-sh/[email protected] | |
| with: | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: doc8 style checks | |
| run: uv run doc8 docs/ | |
| # Generate Swagger UI docs | |
| - name: Fetch Swagger UI | |
| run: ./fetch_swagger.sh | |
| - name: Generate schema | |
| run: uv run generate-schema.py | |
| # Finally, generate Sphinx docs | |
| - name: Spelling | |
| run: uv run make -C docs spelling | |
| - name: Generate documentation | |
| run: uv run make -C docs html |