kopia lustrzana https://github.com/linuxserver/docker-documentation
Group slow plugins
rodzic
cdc3dc254c
commit
37fc2fb445
2
local.md
2
local.md
|
@ -1,6 +1,6 @@
|
||||||
# Local development
|
# Local development
|
||||||
|
|
||||||
To speed up the build, you should consider commenting out the `git-revision-date-localized` and `minify` plugin in mkdocs.yml
|
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`.
|
||||||
|
|
||||||
## Build image
|
## Build image
|
||||||
|
|
||||||
|
|
11
mkdocs.yml
11
mkdocs.yml
|
@ -86,10 +86,13 @@ plugins:
|
||||||
pad: 0
|
pad: 0
|
||||||
theme: 3
|
theme: 3
|
||||||
dark_theme: 200
|
dark_theme: 200
|
||||||
- git-revision-date-localized:
|
- group:
|
||||||
enable_creation_date: true
|
enabled: !ENV CI
|
||||||
- minify:
|
plugins:
|
||||||
minify_html: true
|
- git-revision-date-localized:
|
||||||
|
enable_creation_date: true
|
||||||
|
- minify:
|
||||||
|
minify_html: true
|
||||||
- search
|
- search
|
||||||
- tags:
|
- tags:
|
||||||
tags: false
|
tags: false
|
||||||
|
|
Ładowanie…
Reference in New Issue