Skip to content

Commit 7e9b5b0

Browse files
thomas-zahnermre
authored andcommitted
Revert "Update excluding-paths.md"
This reverts commit d82f45d.
1 parent a46df95 commit 7e9b5b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/docs/recipes/excluding-paths.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ Alternatively, you can also use the `exclude_path` key in the configuration file
1717
exclude_path = ["node_modules"]
1818
```
1919

20+
Regular expressions are also supported.
21+
22+
```toml title="lychee.toml"
23+
exclude_path = ["node_modules", "^./dir/", ".*/dev/.*"]
24+
```
25+
2026
[Here](https://github.com/mre/endler.dev/blob/50d8d5f90dbafa445c9455e420a40f8866f3e1c7/lychee.toml#L28) is an example config file.
2127

2228
## Examples

0 commit comments

Comments
 (0)