docs: add Sevalla 404 catch-all redirect
Created by: ihsraham
Summary
- Adds the Sevalla catch-all redirect rule as the final
_redirectsentry:/* /404.html 404. - Updates
scripts/check-redirects.mjsso CI validates the catch-all rule, confirms it stays last, and accepts Next's generated/404.htmltarget. - Branch is based on current
main, so the PR todevelopalso brings over the existing main-ahead WDK badge commit.
Why
Sevalla serves overridden not-found pages with 200 unless the static redirects file explicitly maps unmatched paths to /404.html with a 404 status. This mirrors the QVAC docs pattern Eugene pointed to.
Validation
-
npm run check:redirects(red first before adding_redirects, then green after adding it) git diff --checknpm run check:metaLINK_CHECK_EXTERNAL=false npm run check:links-
npm run buildafternpm ci
Note: npm ci reported existing npm audit findings: 11 vulnerabilities (5 low, 5 moderate, 1 high). The build completed successfully afterward with existing docs-seo docType frontmatter warnings.