Add lychee link checker to docs

This commit is contained in:
Brendan O'Leary
2026-02-21 14:27:20 -05:00
parent 1a455945bc
commit d30b20de6b
2 changed files with 50 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Check Links
on:
push:
branches: [main, dev]
pull_request:
schedule:
# Run daily at 9am UTC
- cron: "0 9 * * *"
workflow_dispatch: # Allow manual trigger
jobs:
link-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Link Checker
uses: lycheeverse/lychee-action@v2
with:
args: "**/*.md"
fail: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+26
View File
@@ -0,0 +1,26 @@
root_dir = "."
fallback_extensions = ["md"]
remap = ["kilo-docs/docs kilo-docs/pages"]
format = "detailed"
max_redirects = 2
exclude_path = ["node_modules"]
accept = [
"200",
"403",
"429",
"301",
"307",
]
exclude = [
'https://synthetic.new/user-settings/api',
'https://platform.slack-edge.com/img/add_to_slack.png',
'https://console.groq.com/pages/models',
'https://glama.ai/settings/gateway/api-keys',
'^https?://(api|console)\.mistral\.ai',
'^https?://(app|console)\.requesty\.ai',
'^https?://(cloud|console)\.google\.ai',
'https://opencode.ai/pages/config'
]