Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check links in the user guide #1172

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

chalin
Copy link
Collaborator

@chalin chalin commented Aug 15, 2022

This isn't my ideal setup because I'd like to avoid the makefile entirely, but it is good enough -- and this uses one of the fastest link checkers I know!

@chalin chalin added the CI/infra CI & infrastructure label Aug 15, 2022
Comment on lines +3 to +7
IgnoreAltMissing: true # FIXME
IgnoreDirectoryMissingTrailingSlash: true # FIXME
IgnoreDirs: [_print] # FIXME
IgnoreEmptyHref: true # FIXME
IgnoreInternalEmptyHash: true # FIXME
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The options with FIXME tags should eventually be addressed by performing the necessary cleanup in the repo.

@chalin
Copy link
Collaborator Author

chalin commented Aug 15, 2022

And link checking is now enabled. Here's proof from the build log:

2:54:01 PM: tmp/bin/htmltest --skip-external
2:54:01 PM: Skipping the checking of external links.
2:54:01 PM: htmltest started at 06:54:01 on public
2:54:01 PM: ========================================================================
2:54:01 PM: ✔✔✔ passed in 52.456565ms
2:54:01 PM: tested 63 documents

@chalin chalin merged commit 4eca154 into google:main Aug 15, 2022
@chalin chalin deleted the chalin-im-link-checker-2022-08-15 branch August 15, 2022 18:56
fekete-robert pushed a commit to fekete-robert/docsy that referenced this pull request Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/infra CI & infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check links in the user guide
1 participant