Commit c34321a
Fix lychee.toml remap syntax - use array format
Fixed TOML parse error: "invalid type: map, expected a sequence"
The remap configuration in lychee must be an array of strings in the format:
remap = ["pattern replacement"]
Changed from:
[remap]
"/docs/" = "file://./docs/"
To:
remap = ["^/docs/(.*)$ file://./docs/$1"]
This uses regex pattern matching to map /docs/* URLs to local file:// paths.
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 08fca1d commit c34321a
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments