Дополнительные настройки документации
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2023-02-25 21:59:26 +03:00
parent 277b188631
commit 79093493ac
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
2 changed files with 27 additions and 4 deletions

View File

@ -0,0 +1,5 @@
.md-typeset .admonition,
.md-typeset details {
border-width: 0;
border-left-width: 4px;
}

View File

@ -28,16 +28,22 @@ theme:
logo: simple/gitlab logo: simple/gitlab
repo: fontawesome/brands/github repo: fontawesome/brands/github
palette: palette:
- scheme: default - media: "(prefers-color-scheme)"
scheme: default
toggle:
icon: material/brightness-auto
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
primary: deep orange primary: deep orange
accent: orange accent: orange
toggle: toggle:
icon: material/brightness-7 icon: material/brightness-7
name: Switch to dark mode name: Switch to dark mode
- scheme: slate - media: "(prefers-color-scheme: dark)"
scheme: slate
toggle: toggle:
icon: material/brightness-4 icon: material/brightness-4
name: Switch to light mode name: Switch to system preference
features: features:
- navigation.instant - navigation.instant
- navigation.indexes - navigation.indexes
@ -51,10 +57,12 @@ theme:
- search.highlight - search.highlight
- content.action.edit - content.action.edit
- content.code.copy - content.code.copy
- content.code.annotate
- toc.follow - toc.follow
- toc.integrate - toc.integrate
plugins: plugins:
- social - social
- typeset
# - blog: # - blog:
# blog_toc: true # blog_toc: true
# post_date_format: short # post_date_format: short
@ -65,7 +73,6 @@ plugins:
- optimize: - optimize:
cache: false cache: false
optimize_jpg_quality: 90 optimize_jpg_quality: 90
- meta
- tags - tags
- search: - search:
lang: ru lang: ru
@ -75,6 +82,11 @@ markdown_extensions:
- pymdownx.superfences - pymdownx.superfences
- pymdownx.inlinehilite - pymdownx.inlinehilite
- pymdownx.snippets - pymdownx.snippets
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- attr_list - attr_list
- pymdownx.highlight: - pymdownx.highlight:
anchor_linenums: true anchor_linenums: true
@ -87,11 +99,14 @@ markdown_extensions:
emoji_generator: !!python/name:materialx.emoji.to_svg emoji_generator: !!python/name:materialx.emoji.to_svg
- admonition - admonition
- md_in_html - md_in_html
- footnotes
- toc: - toc:
permalink: true permalink: true
toc_depth: 3 toc_depth: 3
title: Содержание title: Содержание
extra_css:
- stylesheets/extra.css
extra: extra:
generator: false generator: false
analytics: analytics:
@ -99,6 +114,9 @@ extra:
property: foobar property: foobar
version: version:
provider: mike provider: mike
# social:
# - icon: fontawesome/brands/telegram
# link: https://t.me/dev_java_blog
# alternate: # alternate:
# - name: Русский # - name: Русский
# link: /gitlab-notification/ru/ # link: /gitlab-notification/ru/