Skip to content

Commit f79a763

Browse files
joshmeadsmre
authored andcommitted
Update excluding-paths.md
Fix documentation - remove showing globs and regex
1 parent d82f45d commit f79a763

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

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

+1-10
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You might think that you can just put the path in the [`.lycheeignore`](/recipes
99
The `.lycheeignore` file is only used for excluding URLs, not paths.
1010

1111
Instead, you can use the `--exclude-path` flag to exclude paths from being checked.
12-
Example: `--exclude-path node_modules` or `--exclude-path example\.(com|org)`.
12+
Example: `--exclude-path node_modules`
1313

1414
Alternatively, you can also use the `exclude_path` key in the configuration file:
1515

@@ -57,7 +57,6 @@ Exclude version control directories.
5757
```bash
5858
lychee --exclude-path .git
5959
lychee --exclude-path .svn
60-
lychee --exclude-path "\.git|\.svn"
6160
```
6261

6362
### Documentation and Non-Code Assets
@@ -68,14 +67,6 @@ Skip documentation and non-code related directories.
6867
lychee --exclude-path docs --exclude-path assets/images
6968
```
7069

71-
### Backup Files
72-
73-
Avoid checking backup files created by editors or tools.
74-
75-
```bash
76-
lychee --exclude-path "*.bak"
77-
```
78-
7970
### Logs and Databases
8071

8172
Exclude directories or files storing logs or databases.

0 commit comments

Comments
 (0)