feat: Add native htmltest link and quality checker#764
Closed
TineoC wants to merge 1 commit into
Closed
Conversation
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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add .htmltest.yml and Makefile targets to run post-render link checks matching kubernetes/website native linter syntax.