Commit d8c3f6c
committed
fix(smoke): Create _static/_templates dirs and print captured output on failure
why: smoke_gp_sphinx was missing the standard project directories that
merge_sphinx_config() defaults expect (html_static_path/_static,
templates_path/_templates), causing a Sphinx -W fatal warning
'html_static_path entry _static does not exist'. The subprocess
output was also silently swallowed, making CI failures opaque.
what:
- Create _static/ and _templates/ in smoke_gp_sphinx temp docs dir
- Print captured stdout/stderr on CalledProcessError in _run() helper1 parent 69bc4be commit d8c3f6c
1 file changed
Lines changed: 18 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
208 | 215 | | |
209 | 216 | | |
210 | 217 | | |
| |||
379 | 386 | | |
380 | 387 | | |
381 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
382 | 392 | | |
383 | 393 | | |
384 | 394 | | |
| |||
0 commit comments