File tree Expand file tree Collapse file tree 2 files changed +65
-1
lines changed
Expand file tree Collapse file tree 2 files changed +65
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Docs
3+
4+ on :
5+ pull_request :
6+ push :
7+ branches : [ main ]
8+
9+ # Allow job to be triggered manually.
10+ workflow_dispatch :
11+
12+ # Cancel in-progress jobs when pushing to the same branch.
13+ concurrency :
14+ cancel-in-progress : true
15+ group : ${{ github.workflow }}-${{ github.ref }}
16+
17+ jobs :
18+
19+ tests :
20+
21+ runs-on : " ubuntu-latest"
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ python-version : [
26+ " 3.14" ,
27+ ]
28+
29+ env :
30+ PYTHON : ${{ matrix.python-version }}
31+ UV_SYSTEM_PYTHON : true
32+
33+ name : Link checker
34+ steps :
35+
36+ - name : Acquire sources
37+ uses : actions/checkout@v6
38+
39+ - name : Set up Python
40+ uses : actions/setup-python@v6
41+ with :
42+ python-version : ${{ matrix.python-version }}
43+
44+ - name : Set up uv
45+ uses : astral-sh/setup-uv@v7
46+ with :
47+ cache-dependency-glob : |
48+ pyproject.toml
49+ cache-suffix : ${{ matrix.python-version }}
50+ enable-cache : true
51+ version : " latest"
52+
53+ - name : Set up project
54+ run : |
55+
56+ # Install package in editable mode.
57+ uv pip install --editable='.[develop,docs]'
58+
59+ - name : Run link checker
60+ run : |
61+ poe docs-linkcheck
Original file line number Diff line number Diff line change @@ -238,7 +238,10 @@ docs-autobuild = [
238238 { cmd = " sphinx-autobuild --open-browser --watch sphinx_design_elements docs docs/_build" },
239239]
240240docs-html = [
241- { cmd = " sphinx-build -W --keep-going docs docs/_build" },
241+ { cmd = " sphinx-build --builder=html -W --keep-going docs docs/_build" },
242+ ]
243+ docs-linkcheck = [
244+ { cmd = " sphinx-build --builder=linkcheck -W --keep-going docs docs/_build" },
242245]
243246
244247format = [
You can’t perform that action at this time.
0 commit comments