Skip to content

Commit 609631b

Browse files
Copilothotlong
andcommitted
Remove custom link validation script, keep only lychee-action
Removed custom validation tooling as requested: - Deleted scripts/validate-docs-links.mjs - Deleted scripts/README.md - Deleted .github/workflows/validate-docs-links.yml - Removed validate:links npm script from package.json - Updated CONTRIBUTING.md to reference only lychee-action Keeping only the lychee-action workflow (.github/workflows/check-links.yml) for link validation. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 0f782d1 commit 609631b

File tree

5 files changed

+1
-422
lines changed

5 files changed

+1
-422
lines changed

.github/workflows/validate-docs-links.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -453,19 +453,7 @@ Fumadocs is configured with `baseUrl: '/docs'`, which means all documentation pa
453453

454454
#### Validating Links
455455

456-
Before submitting documentation changes, validate all internal links:
457-
458-
```bash
459-
# Validate all documentation links
460-
pnpm validate:links
461-
```
462-
463-
This will check:
464-
- Links point to existing files and routes
465-
- Links use correct path structure with /docs/ prefix
466-
- Suggestions for fixing common issues
467-
468-
The validation runs automatically on PRs that modify documentation files.
456+
Link validation runs automatically via GitHub Actions on all PRs using lychee-action. This checks for broken internal and external links.
469457

470458
See [Documentation Guide](./docs/README.md) for details.
471459

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"test:ui": "vitest --ui",
3131
"test:coverage": "vitest run --coverage",
3232
"lint": "pnpm -r lint",
33-
"validate:links": "node scripts/validate-docs-links.mjs",
3433
"cli": "node packages/cli/dist/cli.js",
3534
"objectui": "node packages/cli/dist/cli.js",
3635
"doctor": "node packages/cli/dist/cli.js doctor",

scripts/README.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)