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
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ plugins:
11
11
fallback_to_empty: false
12
12
exclude:
13
13
- index.md
14
+
enabled: true
14
15
```
15
16
16
17
## `show_contribution`
@@ -50,3 +51,21 @@ plugins:
50
51
- another_page.md
51
52
- folder/*
52
53
```
54
+
55
+
## `enabled`
56
+
57
+
Default is `true`. Enables you to deactivate this plugin. A possible use case is local development where you might want faster build times and/or do not have git available. It's recommended to use this option with an environment variable together with a default fallback (introduced in `mkdocs` v1.2.1, see [docs](https://www.mkdocs.org/user-guide/configuration/#environment-variables)). Example:
58
+
59
+
```yaml
60
+
# mkdocs.yml
61
+
plugins:
62
+
- git-authors:
63
+
enabled: !ENV [ENABLED_GIT_AUTHORS, True]
64
+
```
65
+
66
+
Which enables you do disable the plugin locally using:
0 commit comments