From 3d47ff5e45708bc7e044f97e0aa59e94751c9123 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Tue, 28 Nov 2023 15:05:48 +0800 Subject: [PATCH] release: v3.2.0.0 --- .changelog/v3.2.0.0.md | 9 +++++++++ README.md | 5 +---- buildSrc/src/main/kotlin/P.kt | 10 ++++++---- website/docs/api/ark/_category_.json | 4 ++++ website/docs/api/ark/index.md | 10 ++++++++++ website/docs/api/embed/_category_.json | 4 ++++ website/docs/api/embed/index.md | 10 ++++++++++ website/docs/api/role/_category_.json | 4 ++++ website/docs/api/role/index.md | 10 ++++++++++ website/docusaurus.config.js | 18 +++++++++--------- website/static/version.json | 2 +- 11 files changed, 68 insertions(+), 18 deletions(-) create mode 100644 .changelog/v3.2.0.0.md create mode 100644 website/docs/api/ark/_category_.json create mode 100644 website/docs/api/ark/index.md create mode 100644 website/docs/api/embed/_category_.json create mode 100644 website/docs/api/embed/index.md create mode 100644 website/docs/api/role/_category_.json create mode 100644 website/docs/api/role/index.md diff --git a/.changelog/v3.2.0.0.md b/.changelog/v3.2.0.0.md new file mode 100644 index 00000000..88dd388b --- /dev/null +++ b/.changelog/v3.2.0.0.md @@ -0,0 +1,9 @@ +> 对应核心版本: [**v3.2.0**](https://github.com/simple-robot/simpler-robot/releases/tag/v3.2.0) + +> **Warning** +> **目前版本处于 `BETA` 阶段,代表我们会尽量保证不再大面积变更API,且仍然可能存在一些未知问题、未完善的内容和落后于官方更新的内容。** + +我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)或[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls), +感谢您的贡献与支持! + +也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可! diff --git a/README.md b/README.md index 6f2930aa..9e1cdf42 100644 --- a/README.md +++ b/README.md @@ -36,14 +36,11 @@ ## 文档 - 了解simbot3: [**simbot3官网**](https://simbot.forte.love) -- **QQ频道组件**手册:https://simple-robot.github.io/simbot-component-qq-guild/ (尚在 _🔧建设中_,暂未配置域名,未来可能会变化) +- **QQ频道组件**手册:https://simple-robot.github.io/simbot-component-qq-guild/ (尚在 _🔧建设中_,暂未配置域名) - **API文档**: [**文档引导站点**](https://docs.simbot.forte.love) 中QQ频道的 [**KDoc站点**](https://docs.simbot.forte.love/components/qq-guild) --- -> **Warning** -> **目前版本处于 `BETA` 阶段,代表我们会尽量保证不再大面积变更API,且仍然可能存在一些未知问题、未完善的内容和落后于官方更新的内容。** - 我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)或[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls), 感谢您的贡献与支持! diff --git a/buildSrc/src/main/kotlin/P.kt b/buildSrc/src/main/kotlin/P.kt index 636b2bb6..9e59f977 100644 --- a/buildSrc/src/main/kotlin/P.kt +++ b/buildSrc/src/main/kotlin/P.kt @@ -24,7 +24,8 @@ val simbotVersion = v(3, 2, 0) //- v("RC", 3) fun simbot(name: String, version: String = simbotVersion.toString()): String = "love.forte.simbot:simbot-$name:$version" -fun simboot(name: String, version: String = simbotVersion.toString()): String = "love.forte.simbot.boot:simboot-$name:$version" +fun simboot(name: String, version: String = simbotVersion.toString()): String = + "love.forte.simbot.boot:simboot-$name:$version" val simbotApi = simbot("api") val simbotCore = simbot("core") @@ -62,10 +63,10 @@ object P { 0, 0 ) - private val alphaSuffix = v("beta", 2) + //private val alphaSuffix = v("beta", 2) - override val version = baseVersion - alphaSuffix - val snapshotVersion = baseVersion - (alphaSuffix - Version.SNAPSHOT) + override val version = baseVersion // - alphaSuffix + val snapshotVersion = baseVersion - Version.SNAPSHOT val versionIfSnap get() = (if (isSnapshot()) snapshotVersion else version).toString() @@ -106,6 +107,7 @@ object P { } + private val _isSnapshot by lazy { initIsSnapshot() } private fun initIsSnapshot(): Boolean { diff --git a/website/docs/api/ark/_category_.json b/website/docs/api/ark/_category_.json new file mode 100644 index 00000000..15fd4df2 --- /dev/null +++ b/website/docs/api/ark/_category_.json @@ -0,0 +1,4 @@ +{ + "position": 40, + "label": "Ark 消息" +} diff --git a/website/docs/api/ark/index.md b/website/docs/api/ark/index.md new file mode 100644 index 00000000..91897b25 --- /dev/null +++ b/website/docs/api/ark/index.md @@ -0,0 +1,10 @@ +--- +title: Ark 消息 +toc_max_heading_level: 4 +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +QQ频道中有一些针对 `Ark消息` 的API。 + diff --git a/website/docs/api/embed/_category_.json b/website/docs/api/embed/_category_.json new file mode 100644 index 00000000..8cd4df26 --- /dev/null +++ b/website/docs/api/embed/_category_.json @@ -0,0 +1,4 @@ +{ + "position": 45, + "label": "Embed 消息" +} diff --git a/website/docs/api/embed/index.md b/website/docs/api/embed/index.md new file mode 100644 index 00000000..2e8429e1 --- /dev/null +++ b/website/docs/api/embed/index.md @@ -0,0 +1,10 @@ +--- +title: Embed 消息 +toc_max_heading_level: 4 +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +QQ频道中有一些针对 `Embed消息` 的API。 + diff --git a/website/docs/api/role/_category_.json b/website/docs/api/role/_category_.json new file mode 100644 index 00000000..f60c3a56 --- /dev/null +++ b/website/docs/api/role/_category_.json @@ -0,0 +1,4 @@ +{ + "position": 35, + "label": "角色 Role" +} diff --git a/website/docs/api/role/index.md b/website/docs/api/role/index.md new file mode 100644 index 00000000..512fe9d3 --- /dev/null +++ b/website/docs/api/role/index.md @@ -0,0 +1,10 @@ +--- +title: 角色 +toc_max_heading_level: 4 +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +QQ频道中有一些针对 `角色` 的API。 + diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index a48918c4..29e95e67 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -116,15 +116,15 @@ async function config() { } }, // 公告 - announcementBar: { - id: 'announcementBar-still_alpha', - content: `⚒️🛠️👷QQ频道组件仍处于ALPHA阶段,欢迎积极反馈问题协助我们,非常感谢🙇‍`, - // backgroundColor: '#FFB906', - // backgroundColor: 'linear-gradient(0deg,red 50%,green 50%)', - // textColor: '#142F48', - isCloseable: false - - }, + // announcementBar: { + // id: 'announcementBar-still_alpha', + // content: `⚒️🛠️👷QQ频道组件仍处于ALPHA阶段,欢迎积极反馈问题协助我们,非常感谢🙇‍`, + // // backgroundColor: '#FFB906', + // // backgroundColor: 'linear-gradient(0deg,red 50%,green 50%)', + // // textColor: '#142F48', + // isCloseable: false + // + // }, navbar: { title: 'Simple Robot | QQ频道组件', logo: { diff --git a/website/static/version.json b/website/static/version.json index a6b24f57..f0713fb2 100644 --- a/website/static/version.json +++ b/website/static/version.json @@ -1,3 +1,3 @@ { - "version": "3.2.0.0-beta.2" + "version": "3.2.0.0" } \ No newline at end of file