-
Notifications
You must be signed in to change notification settings - Fork 335
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
Validate shortened doc links #2511
Comments
Conceptually, I think this comes in three steps:
Step 3 can use the existing patterns for Kibana links. |
As far as hitting the shortener service, If you get a 200-300 level response and a valid The only other thing I'll say is that recursive link validation tools sound easy to build, but there be dragons there. I wrote one at my previous job and saw a surprising amount of false negatives because some servers deny |
Thanks, @JoshMock ! In this case, I was imagining just finding all I should have thought to use a HEAD request, which means you can filter out a "click" like this based on |
The Elastic Health API returns information that includes links to Troubleshooting topics in the documentation. They're using the link shortening service for these links so that they are easier to manage. There are other places where we are embedding links to the docs (deprecation warnings) and using shortened links. We need to routinely test these to ensure the links we're embedding in output don't 404.
The text was updated successfully, but these errors were encountered: