Commit 264970a
committed
fix(docs): gate gallery example execution on TTTRLIB_DOCS_EXECUTE_EXAMPLES
The committed conf.py hard-coded sphinx_gallery_conf['plot_gallery']=True,
so the 'Build Documentation' CI job executed every gallery example even
though it sets TTTRLIB_DOCS_EXECUTE_EXAMPLES=0 and only provisions a
minimal test-data set. Examples whose data is absent hit their
'raise SystemExit(0)' guards; SystemExit derives from BaseException, so
sphinx-gallery (which only catches Exception) let it propagate and
terminate sphinx-build with exit 0 before the HTML write phase. The job
then failed in check_docs_pages.py with 'No HTML pages found'.
Gate plot_gallery on TTTRLIB_DOCS_EXECUTE_EXAMPLES (default off), matching
the passing rattler docs recipe. With execution off, examples render as
source-only gallery pages, the build completes, and the coverage/page
checks pass. Also carries the source_suffix/notebook-exclude and theme
tweaks staged alongside it.1 parent 3fa3035 commit 264970a
1 file changed
Lines changed: 22 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 63 | | |
72 | 64 | | |
73 | 65 | | |
| |||
163 | 155 | | |
164 | 156 | | |
165 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
174 | 178 | | |
175 | 179 | | |
176 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
177 | 187 | | |
178 | 188 | | |
179 | 189 | | |
| |||
230 | 240 | | |
231 | 241 | | |
232 | 242 | | |
233 | | - | |
| 243 | + | |
234 | 244 | | |
235 | 245 | | |
236 | 246 | | |
| |||
275 | 285 | | |
276 | 286 | | |
277 | 287 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
283 | 291 | | |
284 | 292 | | |
285 | 293 | | |
| |||
0 commit comments