diff --git a/.changelog/v0.0.9.md b/.changelog/v0.0.9.md
new file mode 100644
index 0000000..c751e18
--- /dev/null
+++ b/.changelog/v0.0.9.md
@@ -0,0 +1,7 @@
+> 对应核心版本: [**v4.3.0**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.3.0)
+
+
+我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-telegram/issues)或[协助](https://github.com/simple-robot/simbot-component-telegram/pulls),
+感谢您的贡献与支持!
+
+也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 903f937..ea7718b 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -2,7 +2,7 @@ version: 2
updates:
- package-ecosystem: gradle
directory: /
- target-branch: "dev"
+ target-branch: "dev/main"
schedule:
interval: weekly
labels:
diff --git a/.github/release.yml b/.github/release.yml
index ab82170..2ff9ddd 100644
--- a/.github/release.yml
+++ b/.github/release.yml
@@ -4,21 +4,19 @@ changelog:
- 'for-release'
- 'ignore-in-release'
categories:
- - title: '🔧 Bug Fix'
+ - title: '🔧Bug Fix'
labels:
- 'bug'
- - title: '⚙️ 修复缺陷'
- labels:
- '缺陷'
- - title: '🎉 新特性'
+ - title: '🎉新特性'
labels:
- '特性'
- - title: '✨ 优化'
+ - title: '✨优化'
labels:
- '优化'
- - title: '📦 依赖更新'
+ - title: '📦依赖更新'
labels:
- 'dependencies'
- - title: '👀 其他变更'
+ - title: '👀 Others'
labels:
- '*'
diff --git a/.github/workflows/publish-kdoc.yml b/.github/workflows/publish-kdoc.yml
new file mode 100644
index 0000000..a67233f
--- /dev/null
+++ b/.github/workflows/publish-kdoc.yml
@@ -0,0 +1,59 @@
+name: Publish KDoc
+on:
+ workflow_dispatch:
+
+
+env:
+ JAVA_VERSION: 21
+ JAVA_DISTRIBUTION: zulu
+ GRADLE_VERSION: 8.5
+ IS_CI: true
+ GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
+ GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
+ GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
+ SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
+ SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
+ GRADLE_OPTS: "-XX:MaxMetaspaceSize=2g -Dfile.encoding=UTF-8"
+
+jobs:
+ deploy-doc:
+ name: Deploy-doc
+ runs-on: ubuntu-latest
+ steps:
+ # 检出仓库代码
+ - name: Check out repo
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
+ fetch-depth: 0
+ # setup Java
+ - name: Setup java
+ uses: actions/setup-java@v4
+ with:
+ distribution: ${{ env.JAVA_DISTRIBUTION }}
+ java-version: ${{ env.JAVA_VERSION }}
+ cache: 'gradle'
+
+ # setup Gradle
+ - name: Gradle generate documentation
+ uses: gradle/actions/setup-gradle@v3
+ with:
+ gradle-version: ${{ env.GRADLE_VERSION }}
+ arguments: |
+ dokkaHtmlMultiModule
+ --info
+ --warning-mode all
+ -x test
+ --build-cache
+ -Porg.gradle.jvmargs="-Xmx8g -Xms2g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8"
+ -Porg.gradle.daemon=false
+
+ - name: Push to doc repository
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ personal_token: ${{ secrets.PUSH_TOKEN }}
+ external_repository: simple-robot-library/simbot3-api-docs
+ publish_branch: kdoc-deploy/component-telegram
+ publish_dir: ./build/dokka/html
+ # deploy to sub dir
+ destination_dir: components/telegram
diff --git a/.simbot/dokka-assets/css/kdoc-style.css b/.simbot/dokka-assets/css/kdoc-style.css
index 83a1461..f06f72c 100644
--- a/.simbot/dokka-assets/css/kdoc-style.css
+++ b/.simbot/dokka-assets/css/kdoc-style.css
@@ -1,8 +1,26 @@
-.library-name a::before {
- background: url("../images/logo-icon.svg") center no-repeat;
- background-size: contain;
- width: 40px;
- height: 40px;
- top: -12px;
- left: -50px;
+/*
+ * Copyright (c) 2024. ForteScarlet.
+ *
+ * Project https://github.com/simple-robot/simpler-robot
+ * Email ForteScarlet@163.com
+ *
+ * This file is part of the Simple Robot Library (Alias: simple-robot, simbot, etc.).
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * Lesser GNU General Public License for more details.
+ *
+ * You should have received a copy of the Lesser GNU General Public License
+ * along with this program. If not, see .
+ *
+ */
+
+:root {
+ --dokka-logo-image-url: url('../images/logo-icon-light.svg');
}
diff --git a/.simbot/dokka-assets/logo-icon-light.svg b/.simbot/dokka-assets/logo-icon-light.svg
new file mode 100644
index 0000000..4cb3625
--- /dev/null
+++ b/.simbot/dokka-assets/logo-icon-light.svg
@@ -0,0 +1,78 @@
+
+
+
+
diff --git a/.simbot/dokka-assets/logo-icon.svg b/.simbot/dokka-assets/logo-icon.svg
index 4cb3625..a1d8512 100644
--- a/.simbot/dokka-assets/logo-icon.svg
+++ b/.simbot/dokka-assets/logo-icon.svg
@@ -22,57 +22,57 @@
-
-->
-