Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
dbe41366
Unverified
Commit
dbe41366
authored
Oct 16, 2025
by
Steven Liu
Committed by
GitHub
Oct 16, 2025
Browse files
[CI] Check links (#12491)
* check links * update * feedback * remove
parent
26475082
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
.github/workflows/build_pr_documentation.yml
.github/workflows/build_pr_documentation.yml
+26
-0
No files found.
.github/workflows/build_pr_documentation.yml
View file @
dbe41366
...
...
@@ -12,7 +12,33 @@ concurrency:
cancel-in-progress
:
true
jobs
:
check-links
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v4
-
name
:
Set up Python
uses
:
actions/setup-python@v5
with
:
python-version
:
'
3.10'
-
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
build
:
needs
:
check-links
uses
:
huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
with
:
commit_sha
:
${{ github.event.pull_request.head.sha }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment