Skip to content

List of dead links #867

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

Open
B-Mahdj opened this issue Mar 21, 2025 · 0 comments
Open

List of dead links #867

B-Mahdj opened this issue Mar 21, 2025 · 0 comments

Comments

@B-Mahdj
Copy link

B-Mahdj commented Mar 21, 2025

Hi,
After writing a PR to fix dead link (#840) I tried to find a tool that could automate the finding of dead links and found out about Lychee, a link checker written in Rust.

I've ran the CLI on local and here are the results of the links that are broken :

[./website/docs/cloud-docs/workspaces/dynamic-provider-credentials/hcp-configuration.mdx]:
[404] https://developer.hashicorp.com/hcp/docs/hcp/admin/iam/service-principals | Network error: Not Found

[./README.md]:
[404] https://github.com/hashicorp/ptfe-releases#maintaining-tfe-website-documentation | Network error: Not Found
[404] https://www.terraform.io/configuration | Network error: Not Found
[404] https://github.com/hashicorp/ptfe-releases#excluding-hcp-terraform-specific-content | Network error: Not Found
[404] https://github.com/hashicorp/remark-plugins/tree/je.anchor-link-adjustments/plugins/anchor-links#anchor-link-aliases | Network error: Not Found
[404] https://github.com/hashicorp/remark-plugins/tree/je.anchor-link-adjustments/plugins/anchor-links#anchor-links | Network error: Not Found

[./website/docs/cloud-docs/policy-enforcement/view-results/index.mdx]:
[404] https://terraform.io/cloud-dodcs/cost-estimation | Network error: Not Found

[./website/docs/cloud-docs/recommended-practices/part3.2.mdx]:
[404] https://github.com/mspnp/reference-architectures | Network error: Not Found

This tool is not perfect because of how the pathing is handled in this project, so for example the broken link I've found here (#840) cannot be found using this tool but it gives the broken external links at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant