From 79093493ac27c8b14f67f5a001940c8612e2e93b Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sat, 25 Feb 2023 21:59:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20=D0=BD=D0=B0=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B8=20=D0=B4=D0=BE=D0=BA=D1=83?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- documentation/ru/docs/stylesheets/extra.css | 5 ++++ documentation/ru/mkdocs.yml | 26 +++++++++++++++++---- 2 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 documentation/ru/docs/stylesheets/extra.css diff --git a/documentation/ru/docs/stylesheets/extra.css b/documentation/ru/docs/stylesheets/extra.css new file mode 100644 index 0000000..5cb1a2e --- /dev/null +++ b/documentation/ru/docs/stylesheets/extra.css @@ -0,0 +1,5 @@ +.md-typeset .admonition, +.md-typeset details { + border-width: 0; + border-left-width: 4px; +} \ No newline at end of file diff --git a/documentation/ru/mkdocs.yml b/documentation/ru/mkdocs.yml index 93086c0..9ac7c3e 100644 --- a/documentation/ru/mkdocs.yml +++ b/documentation/ru/mkdocs.yml @@ -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/