Skip to content

feat: Add native htmltest link and quality checker#764

Closed
TineoC wants to merge 1 commit into
kubernetes:masterfrom
TineoC:add/seo-linter
Closed

feat: Add native htmltest link and quality checker#764
TineoC wants to merge 1 commit into
kubernetes:masterfrom
TineoC:add/seo-linter

Conversation

@TineoC

@TineoC TineoC commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Add .htmltest.yml and Makefile targets to run post-render link checks matching kubernetes/website native linter syntax.

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: TineoC

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 13, 2026
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 13, 2026
Introduce comprehensive validation checks to ensure site spelling,
link integrity, and SEO health are preserved.

Details:
- Add misspell checker in scripts/verify-spelling.sh running on
  content markdown files, bypassing pre-existing spelling errors
  configured in scripts/.spelling_failures.
- Add check-headers-file.sh to ensure the Netlify production build
  does not contain a noindex header that blocks search indexing.
- Add htmltest configuration (.htmltest.yml) to validate internal
  and external links, ignoring legacy sections and external links.
- Pin htmltest Docker image to its immutable SHA256 digest and
  local command to go run github.com/wjdp/htmltest@ec73febdcb639acbeb983089db2df6732e8199bd to
  ensure reproducible environments.
- Integrate verify-spelling, check-headers-file, and htmltest checks
  into local lint and Netlify production-build Makefile targets.
- Set package.json test script to run make lint.
@TineoC TineoC closed this Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants