File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed
Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change 11name : Build docs and check links
22on : [push, pull_request]
3+ env :
4+ SPHINX : uv run --locked sphinx-build -W --keep-going --color
5+ UV_PYTHON_DOWNLOADS : never
36jobs :
47 docs-linkcheck :
58 runs-on : ubuntu-latest
69 steps :
710 - name : Install pandoc
811 run : |
912 sudo apt-get install --no-install-recommends pandoc
10- - name : Set up Python
11- uses : actions/setup-python@v6
12- with :
13- python-version : " 3.10"
14- - name : Double-check Python version
15- run : |
16- python --version
17- - name : Clone Git repository (without depth limitation)
13+ - name : Install uv
14+ uses : astral-sh/setup-uv@v7
15+ - name : Clone Git repository (no submodules, without depth limitation)
1816 uses : actions/checkout@v6
1917 with :
2018 fetch-depth : 0
21- - name : Install dependencies
22- run : |
23- python -m pip install --group doc
2419 - name : Build HTML
2520 run : |
26- python -m sphinx -W --keep-going --color -d _build/doctrees/ doc/ _build/html/ -b html
21+ $SPHINX -d _build/doctrees/ doc/ _build/html/ -b html
2722 - name : Check links
2823 run : |
29- python -m sphinx -W --keep-going --color -d _build/doctrees/ doc/ _build/linkcheck/ -b linkcheck
24+ $SPHINX -d _build/doctrees/ doc/ _build/linkcheck/ -b linkcheck
3025 - name : Upload linkcheck results
3126 uses : actions/upload-artifact@v6
3227 if : ${{ success() || failure() }}
You can’t perform that action at this time.
0 commit comments