This commit is contained in:
James Yang 2026-08-26 18:26:02 -04:00 committed by GitHub
commit a42cab606c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -31,3 +31,10 @@ jobs:
- name: Run Biome CI (format & lint on changed files)
run: bunx biome ci --changed --since=origin/main --no-errors-on-unmatched
# mintlify@4.2.x may exit 0 even when it prints broken links
- name: Check docs for broken internal links
working-directory: apps/docs
run: |
set -o pipefail
bun run check-links 2>&1 | tee /dev/stderr | grep -q "no broken links found"

View file

@ -6,7 +6,8 @@
"portless": { "name": "docs.dev.supermemory", "script": "dev:app", "appPort": 3003 },
"scripts": {
"dev": "portless",
"dev:app": "bunx mintlify@latest dev --no-open --port 3003"
"dev:app": "bunx mintlify@latest dev --no-open --port 3003",
"check-links": "mintlify broken-links"
},
"devDependencies": {
"@types/bun": "latest",