-
Notifications
You must be signed in to change notification settings - Fork 10.3k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Add link checker for Gatsby Docs #19267
Comments
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
any opinion about this? as seen in the linked issues there some places where 404 exists without any notification when a PR is done... |
closing #18908 as duplicate of this Issue.
Originally posted by @muescha in #18908 (comment)
Originally posted by @lannonbr in #18908 (comment) |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Not stale |
FYI for root-relative links with |
I ended up taking https://npmjs.com/package/mdx-link-checker and modifying it:
I will open source this in the coming days / weeks. |
@muescha ok if you want to try it out, here it is: npm: https://www.npmjs.com/package/mdx-local-link-checker |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Not stale |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Not stale |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Not stale |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Summary
There is a plugin for a remark Link check: https://www.gatsbyjs.org/packages/gatsby-remark-check-links/
Can this also work on the Gatsby docs/Blog?
Or as a PR check?
new edit:
Ideas
check local links
.
,..
or/
check local anchors
gatsby develop
/gatsby build
via a graphql query to query all headers?check internal links for trailing slashes (because breadcrumbs and selected sidebar is depend on it)
check external links
check internal link files (like
doc-links.yml
,redirects.yml
)possible tools
[abc](docs/wronglink)
but they have to be[abc](docs/rightlink.md)
[abc](/docs/wronglink)
[abc](https://www.gatsbyjs.org/docs/wronglink)
The text was updated successfully, but these errors were encountered: