Skip to content

Commit

Permalink
release: v1.0.0-RC
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jul 1, 2024
1 parent 62b4c4f commit 429a4e6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .changelog/v1.0.0-RC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
> 对应核心版本: [**v4.1.0**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.1.0)

我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-onebot/issues)[协助](https://github.com/simple-robot/simbot-component-onebot/pulls)
感谢您的贡献与支持!

也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

> [!note]
> 这是一个RC版本。由于之前内部的打包、发布配置进行过一次较大的变动,因此使用此版本先对版本的发布流程进行一次验证。
> 如果流程无误、且没有其他问题、BUG反馈,则后续会跟进 `v1.0.0` 的发布。
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/P.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ object P {
override val description: String get() = DESCRIPTION
override val homepage: String get() = HOMEPAGE

const val VERSION = "0.9.2"
const val NEXT_VERSION = "0.9.2"
const val VERSION = "1.0.0-RC"
const val NEXT_VERSION = "1.0.0"

override val snapshotVersion = "$NEXT_VERSION-SNAPSHOT"
override val version = if (isSnapshot()) snapshotVersion else VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@ fun org.jetbrains.dokka.gradle.AbstractDokkaTask.configOutput(format: String) {
@Suppress("MaxLineLength")
tasks.named<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>("dokkaHtmlMultiModule") {
configOutput("html")

if (isSimbotLocal()) {
offlineMode.set(true)
}
// rootProject.file("README.md").takeIf { it.exists() }?.also {
// includes.from(it)
// }

pluginConfiguration<DokkaBase, DokkaBaseConfiguration> {
customAssets = listOf(rootProject.file(".simbot/dokka-assets/logo-icon.svg"))
customStyleSheets = listOf(rootProject.file(".simbot/dokka-assets/css/kdoc-style.css"))
// TODO ?
homepageLink = "https://github.com/simple-robot/simbot-component-onebot"
footerMessage = "© 2024-${Year.now().value} <a href='https://github.com/simple-robot'>Simple Robot</a>, <a href='https://github.com/ForteScarlet'>ForteScarlet</a>. All rights reserved."
separateInheritedMembers = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ plugins {
// dokka config
@Suppress("MaxLineLength")
tasks.withType<DokkaTaskPartial>().configureEach {
if (isSimbotLocal()) {
offlineMode.set(true)
}

dokkaSourceSets.configureEach {
version = P.ComponentOneBot.version
documentedVisibilities.set(
Expand Down Expand Up @@ -96,7 +100,7 @@ tasks.withType<DokkaTaskPartial>().configureEach {
externalDocumentation(URI.create("https://api.ktor.io/"))

// simbot doc
externalDocumentation(URI.create("https://docs.simbot.forte.love/main/"))
externalDocumentation(URI.create("https://docs.simbot.forte.love/main-v4/"))

}
}

0 comments on commit 429a4e6

Please sign in to comment.