Skip to content

Commit e9dc593

Browse files
committed
Re-enable manual broken-link check
1 parent c0240eb commit e9dc593

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/docs-ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,16 @@ jobs:
3333
test -s lance-namespace/docs/src/rest.yaml
3434
cp lance-namespace/docs/src/rest.yaml docs/api-reference/rest/openapi.yml
3535
36+
- name: Install Mintlify CLI
37+
run: npm install -g mintlify@latest
38+
39+
- name: Check broken links
40+
run: |
41+
set -euo pipefail
42+
if command -v mint >/dev/null 2>&1; then
43+
(cd docs && mint broken-links)
44+
elif command -v mintlify >/dev/null 2>&1; then
45+
(cd docs && mintlify broken-links)
46+
else
47+
(cd docs && npx -y mintlify@latest broken-links)
48+
fi

0 commit comments

Comments
 (0)