Skip to content

Commit f3fca45

Browse files
authored
Merge pull request #290 from linuxserver/group
2 parents 046a4bb + 6ce3ac1 commit f3fca45

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

local.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Local development
22

3-
To speed up the build, you should consider commenting out the `git-revision-date-localized` and `minify` plugin in mkdocs.yml
3+
Thanks to the group plugin, we do not run slow plugins on local runs, to replicate a real build, add the CI variable, `-e CI=true`.
44

55
## Build image
66

mkdocs.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,13 @@ plugins:
8686
pad: 0
8787
theme: 3
8888
dark_theme: 200
89-
- git-revision-date-localized:
90-
enable_creation_date: true
91-
- minify:
92-
minify_html: true
89+
- group:
90+
enabled: !ENV CI
91+
plugins:
92+
- git-revision-date-localized:
93+
enable_creation_date: true
94+
- minify:
95+
minify_html: true
9396
- search
9497
- tags:
9598
tags: false

0 commit comments

Comments
 (0)