fix: API Reference 生成スクリプト改善 #23
Workflow file for this run
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: Docs Check | |
| on: | |
| pull_request: | |
| paths: | |
| - "src/genflux/**" | |
| - "scripts/generate_api_reference.py" | |
| - "scripts/generate_llms_txt.py" | |
| - "docs/API_REFERENCE.md" | |
| - "docs/DEVELOPER_API_REFERENCE.md" | |
| - "llms.txt" | |
| - "llms-full.txt" | |
| jobs: | |
| docs-freshness: | |
| name: Check API Reference is up-to-date | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Install dependencies | |
| run: uv sync --group dev | |
| - name: Check API Reference freshness | |
| run: uv run python scripts/generate_api_reference.py --mode all --check | |
| - name: Check llms.txt freshness | |
| run: uv run python scripts/generate_llms_txt.py --check |