| name | check-links |
| description | Validates the portfolio's internal links before publishing. Walks
every generated page and reports any link whose target is missing.
|
check-links
The last gate before the site goes out. Link targets resolve per the WHATWG URL standard.
Steps
- List every HTML file under
public/.
- For each page, collect its internal links (every
href to / or to a .html file).
- Check the target exists under
public/ (treat / as public/index.html).
- Report any link whose target is missing; if none, report "0 broken links".