You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/options.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ plugins:
9
9
show_line_count: true
10
10
count_empty_lines: true
11
11
fallback_to_empty: false
12
+
exclude:
13
+
- index.md
12
14
```
13
15
14
16
## `show_contribution`
@@ -33,3 +35,18 @@ If this option is set to `true` (default: `false`) empty lines will count toward
33
35
## `fallback_to_empty`
34
36
35
37
If this option is set to `true` (default: `false`) the plugin will work even outside of a proper Git environment, prompting a warning when it's the case, and resulting in empty author list.
38
+
39
+
## `exclude`
40
+
41
+
Default is empty. Specify a list of page source paths (one per line) that should not have author(s) included (excluded from processing by this plugin). This can be useful for example to remove the authors from the front page. The source path of a page is relative to your `docs/` folder. You can also use [globs](https://docs.python.org/3/library/glob.html) instead of full source paths. To exclude `docs/subfolder/page.md` specify in your `mkdocs.yml` a line under `exclude:` with `- subfolder/page.md`. Some examples:
0 commit comments