Skip to content

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

Move lychee root_dir to config file (#343)

Maximilian Roosbc7be4249ae2
diff --git a/.config/lychee.toml b/.config/lychee.toml
index 8e0e67179..42caf7c89 100644
--- a/.config/lychee.toml
+++ b/.config/lychee.toml
@@ -1,6 +1,9 @@
# Lychee link checker configuration
# See: https://lychee.cli.rs/
+# Root directory for resolving absolute paths (e.g., /assets/...)
+root_dir = "docs/static"
+
# Network resilience - handles transient failures
max_retries = 5
timeout = 20
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c8b29185c..1794fb34b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -34,8 +34,6 @@ repos:
types: [markdown]
args:
- --config=.config/lychee.toml
- # Root dir for resolving absolute paths like /assets/...
- - --root-dir=docs/static
- repo: local
hooks:
- id: cargo-lock