From af56e042f7a14c1a94be30232e60b552a4889439 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 19 Feb 2023 16:10:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=BE?= =?UTF-8?q?=D0=BA=D1=83=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 --- .drone.yml | 16 +++++++++- .gitignore | 3 +- docs/blog/index.md | 10 +++++++ docs/getting-started/index.md | 10 +++++++ docs/guides/index.md | 10 +++++++ docs/index.md | 7 +++++ mkdocs.yml | 55 +++++++++++++++++++++++++++++++++++ 7 files changed, 109 insertions(+), 2 deletions(-) create mode 100644 docs/blog/index.md create mode 100644 docs/getting-started/index.md create mode 100644 docs/guides/index.md create mode 100644 docs/index.md create mode 100644 mkdocs.yml diff --git a/.drone.yml b/.drone.yml index 4a3fb5c..606e6c6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -98,7 +98,21 @@ steps: - mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy --- +kind: pipeline +type: docker +name: create-docs-site + +trigger: + branch: + - develop + +steps: + - name: build site + image: upagge/mkdocs-material + commands: + - mkdocs gh-deploy --force +--- kind: signature -hmac: 207203c0c4287898e7eacea14dbff38618650430e07a10438832e36eb501ab52 +hmac: 3e4badb68ae8e0fc102b948d3383ca67155ad0e733bbbdb43560862c5de4fdd6 ... diff --git a/.gitignore b/.gitignore index 0a7fb21..5692d11 100644 --- a/.gitignore +++ b/.gitignore @@ -76,4 +76,5 @@ atlassian-ide-plugin.xml com_crashlytics_export_strings.xml crashlytics.properties crashlytics-build.properties -fabric.properties \ No newline at end of file +fabric.properties +/site/ diff --git a/docs/blog/index.md b/docs/blog/index.md new file mode 100644 index 0000000..f5adf54 --- /dev/null +++ b/docs/blog/index.md @@ -0,0 +1,10 @@ +# Hello Mutiny! + +Once you made Mutiny available to your classpath, you can start writing code. +Let's start with this simple program: + +## Test + +### Test 2 + +## Test 3 \ No newline at end of file diff --git a/docs/getting-started/index.md b/docs/getting-started/index.md new file mode 100644 index 0000000..f5adf54 --- /dev/null +++ b/docs/getting-started/index.md @@ -0,0 +1,10 @@ +# Hello Mutiny! + +Once you made Mutiny available to your classpath, you can start writing code. +Let's start with this simple program: + +## Test + +### Test 2 + +## Test 3 \ No newline at end of file diff --git a/docs/guides/index.md b/docs/guides/index.md new file mode 100644 index 0000000..f5adf54 --- /dev/null +++ b/docs/guides/index.md @@ -0,0 +1,10 @@ +# Hello Mutiny! + +Once you made Mutiny available to your classpath, you can start writing code. +Let's start with this simple program: + +## Test + +### Test 2 + +## Test 3 \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..f797cba --- /dev/null +++ b/docs/index.md @@ -0,0 +1,7 @@ +--- +hide: + +- navigation + title: Home + +--- diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..989d47c --- /dev/null +++ b/mkdocs.yml @@ -0,0 +1,55 @@ +site_name: GodFather Telegram + +repo_url: https://github.com/Godfather-Bots/telegram-bot +repo_name: Godfather-Bots/telegram-bot +#edit_uri: blob/develop/docs/ + +theme: + name: material + language: ru + icon: + 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.sections + - navigation.tabs + - navigation.tabs.sticky + - content.action.edit + - search + - search.suggest + - search.highlight + - toc.follow + plugins: + - meta + - tags + - blog: + blog_dir: ./blog + - search: + lang: ru + - git-revision-date-localized: + enable_creation_date: true +markdown_extensions: + - toc: + permalink: true + toc_depth: 3 + title: Содержание + +#extra: +# alternate: +# - name: Русский +# link: /ru/ +# lang: ru \ No newline at end of file