Добавил создание документации
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2023-02-19 16:10:01 +03:00
parent e36f0da9ab
commit af56e042f7
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
7 changed files with 109 additions and 2 deletions

View File

@ -98,7 +98,21 @@ steps:
- mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy - 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 kind: signature
hmac: 207203c0c4287898e7eacea14dbff38618650430e07a10438832e36eb501ab52 hmac: 3e4badb68ae8e0fc102b948d3383ca67155ad0e733bbbdb43560862c5de4fdd6
... ...

1
.gitignore vendored
View File

@ -77,3 +77,4 @@ com_crashlytics_export_strings.xml
crashlytics.properties crashlytics.properties
crashlytics-build.properties crashlytics-build.properties
fabric.properties fabric.properties
/site/

10
docs/blog/index.md Normal file
View File

@ -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

View File

@ -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

10
docs/guides/index.md Normal file
View File

@ -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

7
docs/index.md Normal file
View File

@ -0,0 +1,7 @@
---
hide:
- navigation
title: Home
---

55
mkdocs.yml Normal file
View File

@ -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