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