From db00b6b1353a0516ca3d7512c8db15232d0edb47 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 19 Feb 2023 19:56:22 +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 ++- {docs => documentation/docs}/blog/index.md | 0 .../docs}/getting-started/index.md | 0 {docs => documentation/docs}/guides/index.md | 0 {docs => documentation/docs}/index.md | 0 mkdocs.yml => documentation/mkdocs.yml | 15 ++++++++++----- 6 files changed, 12 insertions(+), 6 deletions(-) rename {docs => documentation/docs}/blog/index.md (100%) rename {docs => documentation/docs}/getting-started/index.md (100%) rename {docs => documentation/docs}/guides/index.md (100%) rename {docs => documentation/docs}/index.md (100%) rename mkdocs.yml => documentation/mkdocs.yml (86%) diff --git a/.drone.yml b/.drone.yml index 05d889f..1ba8346 100644 --- a/.drone.yml +++ b/.drone.yml @@ -129,12 +129,13 @@ steps: - chmod 600 ~/.ssh/id_rsa - ssh-keyscan -p $SSH_DEPLOY_PORT $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts + - cd documentation - mkdocs build - mv site godfather-telegram - scp -r -P $SSH_DEPLOY_PORT ./godfather-telegram $SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH --- kind: signature -hmac: 09512add0dd3f8aeabb73e8b80b5b7fdc5ed902569a6b652e2b6584d8de415fd +hmac: f572c63a70de0e0b94dda125006e3fc0e2b29ccd318034c7e4193c0c2bee70b2 ... diff --git a/docs/blog/index.md b/documentation/docs/blog/index.md similarity index 100% rename from docs/blog/index.md rename to documentation/docs/blog/index.md diff --git a/docs/getting-started/index.md b/documentation/docs/getting-started/index.md similarity index 100% rename from docs/getting-started/index.md rename to documentation/docs/getting-started/index.md diff --git a/docs/guides/index.md b/documentation/docs/guides/index.md similarity index 100% rename from docs/guides/index.md rename to documentation/docs/guides/index.md diff --git a/docs/index.md b/documentation/docs/index.md similarity index 100% rename from docs/index.md rename to documentation/docs/index.md diff --git a/mkdocs.yml b/documentation/mkdocs.yml similarity index 86% rename from mkdocs.yml rename to documentation/mkdocs.yml index d717227..d13e4d1 100644 --- a/mkdocs.yml +++ b/documentation/mkdocs.yml @@ -2,7 +2,10 @@ site_name: GodFather Telegram repo_url: https://github.com/Godfather-Bots/telegram-bot repo_name: Godfather-Bots/telegram-bot -#edit_uri: blob/develop/docs/ +#edit_uri: edit/master/documentation/docs + +nav: + - 'index.md' theme: name: material @@ -11,28 +14,28 @@ theme: logo: simple/telegram repo: fontawesome/brands/github palette: - # Palette toggle for light mode - scheme: default primary: light blue accent: indigo toggle: icon: material/brightness-7 name: Switch to dark mode - - # Palette toggle for dark mode - scheme: slate toggle: icon: material/brightness-4 name: Switch to light mode features: + - navigation.instant + - navigation.indexes - navigation.sections + - navigation.tracking - navigation.tabs - navigation.tabs.sticky - - content.action.edit - search - search.suggest - search.highlight + - content.action.edit - toc.follow plugins: - meta @@ -52,6 +55,8 @@ markdown_extensions: extra: generator: false + version: + provider: mike # alternate: # - name: Русский # link: /ru/