1- name : Update llms.txt
1+ name : Docs Check All
22
33on :
44 pull_request :
55 branches : [main]
66 paths :
7+ - ' .github/workflows/llms-txt.yaml'
8+ - ' .github/workflows/playground-lint.yaml'
9+ - ' README.md'
10+ - ' docs/**'
11+ - ' pyproject.toml'
12+ - ' scripts/build_architecture_docs.py'
713 - ' src/datamodel_code_generator/**'
8- - ' tests/main/**'
9- - ' tests/data/jsonschema/tutorial_pet.json'
10- - ' tests/test_main_kr.py'
1114 - ' scripts/build_cli_docs.py'
12- - ' scripts/build_prompt_data.py'
15+ - ' scripts/build_conformance_docs.py'
16+ - ' scripts/build_deprecation_docs.py'
17+ - ' scripts/build_diagrams.py'
18+ - ' scripts/build_docs_examples.py'
19+ - ' scripts/build_experimental_docs.py'
20+ - ' scripts/build_release_benchmark_docs.py'
21+ - ' scripts/build_llms_txt.py'
22+ - ' scripts/build_playground_assets.py'
1323 - ' scripts/build_preset_docs.py'
14- - ' src/datamodel_code_generator/parser/schema_version .py'
24+ - ' scripts/build_prompt_data .py'
1525 - ' scripts/build_schema_docs.py'
16- - ' scripts/build_release_benchmark_docs.py'
17- - ' docs/data/release-benchmarks.json'
18- - ' docs/data/release-benchmark-notes.json'
19- - ' docs/assets/benchmarks/release-benchmarks.css'
20- - ' docs/assets/benchmarks/release-benchmarks.js'
21- - ' docs/**/*.md'
22- - ' README.md'
26+ - ' scripts/update_command_help_on_markdown.py'
27+ - ' scripts/update_generate_prompt_snapshots.py'
28+ - ' tests/data/expected/main/jsonschema/**'
29+ - ' tests/data/expected/main/openapi/**'
30+ - ' tests/data/jsonschema/**'
31+ - ' tests/data/openapi/**'
32+ - ' tests/main/**'
33+ - ' tests/test_main_kr.py'
34+ - ' tox.ini'
35+ - ' uv.lock'
2336 - ' zensical.toml'
24- - ' scripts/build_llms_txt.py'
2537
2638permissions :
2739 contents : read
2840
2941jobs :
30- update-llms-txt :
31- runs-on : ubuntu-latest
42+ docs-check-all :
43+ runs-on : ubuntu-24.04
3244 steps :
3345 - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3446 with :
@@ -38,41 +50,18 @@ jobs:
3850 persist-credentials : false
3951 - name : Install the latest version of uv
4052 uses : astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
41- - name : Install tox
42- run : uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
43- - name : Setup README environment
44- run : tox run -vv --notest --skip-missing-interpreters false -e readme
45- env :
46- UV_PYTHON_PREFERENCE : " only-managed"
47- - name : Setup CLI docs environment
48- run : tox run -vv --notest --skip-missing-interpreters false -e cli-docs
49- env :
50- UV_PYTHON_PREFERENCE : " only-managed"
51- - name : Setup schema docs environment
52- run : tox run -vv --notest --skip-missing-interpreters false -e schema-docs
53+ with :
54+ enable-cache : true
55+ cache-suffix : docs-check-all
56+ - name : Setup Python
57+ run : uv python install 3.14
5358 env :
5459 UV_PYTHON_PREFERENCE : " only-managed"
55- - name : Setup preset docs environment
56- run : tox run -vv --notest --skip-missing-interpreters false -e preset-docs
60+ - name : Install tox
61+ run : uv tool install --python-preference only-managed --python 3.14 tox --with tox-uv
5762 env :
5863 UV_PYTHON_PREFERENCE : " only-managed"
59- - name : Setup llms.txt environment
60- run : tox run -vv --notest --skip-missing-interpreters false -e llms-txt
64+ - name : Run aggregate docs check
65+ run : tox run -e docs-check-all -- --check
6166 env :
6267 UV_PYTHON_PREFERENCE : " only-managed"
63- - name : Update README
64- run : .tox/readme/bin/python scripts/update_command_help_on_markdown.py
65- - name : Collect CLI doc metadata
66- run : .tox/cli-docs/bin/pytest tests --collect-cli-docs -p no:xdist -q
67- - name : Build CLI docs
68- run : .tox/cli-docs/bin/python scripts/build_cli_docs.py
69- - name : Build prompt data
70- run : .tox/cli-docs/bin/python scripts/build_prompt_data.py
71- - name : Build schema docs
72- run : .tox/schema-docs/bin/python scripts/build_schema_docs.py
73- - name : Build preset docs
74- run : .tox/preset-docs/bin/python scripts/build_preset_docs.py
75- - name : Build release benchmark docs
76- run : .tox/llms-txt/bin/python scripts/build_release_benchmark_docs.py
77- - name : Build llms.txt
78- run : .tox/llms-txt/bin/python scripts/build_llms_txt.py
0 commit comments