Добавил оптимизацию и кэширование документации
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d3672b480d
commit
54a5b14991
10
.drone.yml
10
.drone.yml
@ -112,6 +112,9 @@ trigger:
|
||||
steps:
|
||||
- name: build site
|
||||
image: git.struchkov.dev/upagge/mkdocs-material-insiders:latest
|
||||
volumes:
|
||||
- name: mkdocs_cache
|
||||
path: ${DRONE_WORKSPACE}/documentation/.cache
|
||||
environment:
|
||||
SSH_DEPLOY_KEY:
|
||||
from_secret: SSH_DEPLOY_KEY
|
||||
@ -139,8 +142,13 @@ steps:
|
||||
image_pull_secrets:
|
||||
- DOCKER_AUTH
|
||||
|
||||
volumes:
|
||||
- name: mkdocs_cache
|
||||
host:
|
||||
path: /drone/volume/mkdocs_cache/gitlab_notification
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 3e1e5987a50eddb152d276daa517ab4f1c8eae18691ca77edd26c3dbd2000892
|
||||
hmac: 5a4817523170ac82c6061ebe98fae73a28b2d10df2b699329e729814510a8c87
|
||||
|
||||
...
|
||||
|
@ -41,8 +41,6 @@ theme:
|
||||
- navigation.indexes
|
||||
- navigation.sections
|
||||
- navigation.tracking
|
||||
# - navigation.tabs
|
||||
# - navigation.tabs.sticky
|
||||
- navigation.footer
|
||||
- search
|
||||
- search.suggest
|
||||
@ -52,6 +50,9 @@ theme:
|
||||
- toc.follow
|
||||
- toc.integrate
|
||||
plugins:
|
||||
- optimize:
|
||||
concurrency: 1
|
||||
optimize_jpg_quality: 90
|
||||
- social
|
||||
- meta
|
||||
- tags
|
||||
@ -60,6 +61,9 @@ theme:
|
||||
- git-revision-date-localized:
|
||||
enable_creation_date: true
|
||||
markdown_extensions:
|
||||
- admonition
|
||||
- attr_list
|
||||
- md_in_html
|
||||
- toc:
|
||||
permalink: true
|
||||
toc_depth: 3
|
||||
|
Loading…
Reference in New Issue
Block a user