mirror of
https://github.com/linuxserver/docker-documentation.git
synced 2026-02-19 18:14:15 +08:00
Merge pull request #290 from linuxserver/group
This commit is contained in:
commit
f3fca4501e
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user