Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Suppress lychee warnings for root-relative paths

Maximilian Roos03643bca0eeb
diff --git a/.config/lychee.toml b/.config/lychee.toml
index 1a2e8fbd9..5409a7ac2 100644
--- a/.config/lychee.toml
+++ b/.config/lychee.toml
@@ -58,9 +58,6 @@ exclude = [
"https://worktrunk\\.dev/hook/",
]
-# Root directory for resolving root-relative paths like /assets/wt-demo.gif
-# Assets are fetched from separate repo at deploy time (gitignored locally)
-root_dir = "docs/static"
# Exclude source files from link checking
exclude_path = [
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0fc844a2f..12926851b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -37,6 +37,9 @@ repos:
types: [markdown]
args:
- --config=.config/lychee.toml
+ # Suppress warnings about root-relative paths (e.g., /assets/wt-demo.gif)
+ # These are valid web paths validated by zola, not lychee
+ - -q
# Comprehensive mode - check all links with full config
# Run manually: pre-commit run --hook-stage manual lychee-all --all-files
- id: lychee
@@ -45,6 +48,7 @@ repos:
stages: [manual]
args:
- --config=.config/lychee.toml
+ - -q
- repo: local
hooks:
- id: cargo-lock