Commit 08fca1d
Fix lychee.toml syntax error - use correct remap format
Fixed TOML parse error: "invalid type: map, expected a string"
The remap feature in lychee uses a simple key-value mapping table,
not an array of tables with pattern/replace fields.
Changed from:
[[remap]]
pattern = "^/docs/(.*)$"
replace = "file://./docs/$1.mdx"
To:
[remap]
"/docs/" = "file://./docs/"
This maps all /docs/* URLs to the local docs/ directory, and lychee
will automatically try common file extensions (.md, .mdx, etc.).
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 35f1fe1 commit 08fca1d
1 file changed
+5
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
52 | 43 | | |
53 | 44 | | |
54 | 45 | | |
| |||
0 commit comments