From 3647b82cc4604b761c473a2d86d717240d81f89b Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Thu, 23 Feb 2023 14:23:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B4=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 3 +-- documentation/mkdocs.yml | 50 ++++++++++++++++------------------------ 2 files changed, 21 insertions(+), 32 deletions(-) diff --git a/.drone.yml b/.drone.yml index 44b055c..0e62d4f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -135,8 +135,7 @@ steps: - ssh-keyscan -p $SSH_DEPLOY_PORT $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - cd documentation - - mkdocs build - - mv site gitlab-notification + - mkdocs build --site-dir gitlab-notification - scp -r -P $SSH_DEPLOY_PORT ./gitlab-notification $SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH image_pull_secrets: diff --git a/documentation/mkdocs.yml b/documentation/mkdocs.yml index c19008d..6c6ad91 100644 --- a/documentation/mkdocs.yml +++ b/documentation/mkdocs.yml @@ -3,7 +3,6 @@ site_url: https://docs.struchkov.dev/gitlab-notification/ repo_url: https://github.com/uPagge/gitlab-notification repo_name: uPagge/gitlab-notification - #edit_uri: edit/master/documentation/docs nav: @@ -35,7 +34,6 @@ theme: toggle: icon: material/brightness-4 name: Switch to light mode - features: - navigation.instant - navigation.indexes @@ -49,18 +47,27 @@ theme: - content.code.copy - toc.follow - toc.integrate - plugins: - - optimize: - concurrency: 1 - optimize_jpg_quality: 90 - - social - - meta - - tags - - search: - lang: ru - - git-revision-date-localized: - enable_creation_date: true +plugins: + - social + - meta + - tags + - search: + lang: ru +# - optimize: +# concurrency: 1 +# optimize_jpg_quality: 90 + markdown_extensions: + - pymdownx.details + - pymdownx.superfences + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.highlight: + anchor_linenums: true + line_spans: __span + pygments_lang_class: true + - pymdownx.tabbed: + alternate_style: true - admonition - attr_list - md_in_html @@ -68,23 +75,6 @@ markdown_extensions: permalink: true toc_depth: 3 title: Содержание - - pymdownx.highlight: - anchor_linenums: true - - pymdownx.superfences: - custom_fences: - - name: mermaid - class: mermaid - format: !!python/name:pymdownx.superfences.fence_code_format - - pymdownx.snippets - - pymdownx.inlinehilite - - pymdownx.details - - pymdownx.smartsymbols - - pymdownx.betterem - - pymdownx.tabbed: - alternate_style: true - - pymdownx.emoji: - emoji_index: !!python/name:materialx.emoji.twemoji - emoji_generator: !!python/name:materialx.emoji.to_svg extra: generator: false