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