-
Notifications
You must be signed in to change notification settings - Fork 6.4k
[CI] Check links #12491
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
[CI] Check links #12491
Conversation
- name: Install uv | ||
run: | | ||
curl -LsSf https://astral.sh/uv/install.sh | sh | ||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | ||
|
||
- name: Install doc-builder | ||
run: | | ||
uv pip install --system git+https://github.com/huggingface/doc-builder.git@main | ||
|
||
- name: Check documentation links | ||
run: | | ||
uv run doc-builder check-links docs/source/en |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also combine this here:
jobs: |
So, we would first check for the links and then trigger
build: |
WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one comment. Thanks for doing this!
ad0156a
to
9a89ecf
Compare
Adds link checker to CI based on suggestion in #12487