kopia lustrzana https://github.com/linuxserver/docker-documentation
Merge pull request #290 from linuxserver/group
commit
f430a231a0
2
local.md
2
local.md
|
@ -1,6 +1,6 @@
|
|||
# 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
|
||||
|
||||
|
|
11
mkdocs.yml
11
mkdocs.yml
|
@ -86,10 +86,13 @@ plugins:
|
|||
pad: 0
|
||||
theme: 3
|
||||
dark_theme: 200
|
||||
- git-revision-date-localized:
|
||||
enable_creation_date: true
|
||||
- minify:
|
||||
minify_html: true
|
||||
- group:
|
||||
enabled: !ENV CI
|
||||
plugins:
|
||||
- git-revision-date-localized:
|
||||
enable_creation_date: true
|
||||
- minify:
|
||||
minify_html: true
|
||||
- search
|
||||
- tags:
|
||||
tags: false
|
||||
|
|
Ładowanie…
Reference in New Issue