Commit ac82d31
Claude-InfoTech
fix(docs): replace undefined video/youtube shortcodes with alternatives
The video and youtube shortcodes are not defined in the documentation
theme, causing Hugo build to fail silently in verbose mode. The build
reports success but no HTML files are generated.
Changes:
- getting-started.md: Replace video shortcode with markdown link
- user-guide.md: Replace video shortcodes with markdown link and
escaped code examples for youtube/video demonstrations
Standard markdown links provide same functionality without requiring
custom shortcodes. Code examples are properly escaped to show usage
without execution.
Root cause analysis:
- Hugo error: 'template for shortcode "video" not found'
- build.sh in verbose mode doesn't check exit codes
- Results in deployment of source files instead of HTML
This fix resolves the build failure. Recommendations for
build.sh improvements will be provided separately.
Fixes: info-tech-io/info-tech-io.github.io#9
Related: Epic #2, Child #51 parent 64df77e commit ac82d31
2 files changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
| 443 | + | |
| 444 | + | |
445 | 445 | | |
446 | | - | |
447 | | - | |
| 446 | + | |
| 447 | + | |
448 | 448 | | |
449 | | - | |
450 | | - | |
| 449 | + | |
| 450 | + | |
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| |||
0 commit comments