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

Automatically check links in docs #294

Closed
lorenyu opened this issue Jun 1, 2023 · 6 comments
Closed

Automatically check links in docs #294

lorenyu opened this issue Jun 1, 2023 · 6 comments
Labels
scope: documentation Improvements or additions to documentation type: feature New feature or new functionality to existing feature

Comments

@lorenyu
Copy link
Contributor

lorenyu commented Jun 1, 2023

Context

When we move or rename docs, it sometimes breaks links. Those are easy to miss. It'd be nice to have an automated way to check links.

@lorenyu lorenyu added scope: documentation Improvements or additions to documentation type: feature New feature or new functionality to existing feature labels Jun 1, 2023
@Shweta46
Copy link

I would like to work on this issue

@lorenyu
Copy link
Contributor Author

lorenyu commented Jul 18, 2023

@Shweta46 great! Do you have any ideas for how to check links in the docs?

@lorenyu
Copy link
Contributor Author

lorenyu commented Sep 1, 2023

first one looks promising, but looks like it might need some work to configure. does it work for checking relative paths within a repo? like we have a lot of links to other docs or files within the repo, but a link-checker that checks if links are proper URLs won't work

@yoomlam
Copy link
Contributor

yoomlam commented Sep 2, 2023

There's an option to specify the baseUrl, so I assume so:

baseUrl the base URL for relative links.

Options replacementPatterns and projectBaseUrl may also be helpful.

@lorenyu
Copy link
Contributor Author

lorenyu commented Dec 21, 2023

@anybodys implemented this #497

@lorenyu lorenyu closed this as completed Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: documentation Improvements or additions to documentation type: feature New feature or new functionality to existing feature
Projects
None yet
Development

No branches or pull requests

3 participants