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/