Skip to content

Commit 7bbcc48

Browse files
authored
docs: Use released plugin 2.23.0 in docs (#563)
1 parent 0f95f67 commit 7bbcc48

File tree

2 files changed

+4
-26
lines changed

2 files changed

+4
-26
lines changed

docs/developer-guide/plugin/api-changelog.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,15 @@ description: 记录每一个版本的插件 API 变更记录,方便开发者
1111

1212
```groovy
1313
repositories {
14-
// TODO Remove this repository once the new version is released
15-
maven {
16-
name = 'Central Portal Snapshots'
17-
url = 'https://central.sonatype.com/repository/maven-snapshots/'
18-
19-
// Only search this repository for the specific dependency
20-
content {
21-
includeGroupAndSubgroups('run.halo')
22-
}
23-
}
2414
mavenCentral()
2515
}
2616
2717
dependencies {
28-
// TODO Change to a released version once available
29-
implementation platform('run.halo.tools.platform:plugin:2.23.0-SNAPSHOT')
18+
implementation platform('run.halo.tools.platform:plugin:2.23.0')
3019
}
3120
3221
halo {
33-
version = '2.23.0-beta.2'
22+
version = '2.23.0'
3423
}
3524
```
3625

versioned_docs/version-2.23/developer-guide/plugin/api-changelog.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,15 @@ description: 记录每一个版本的插件 API 变更记录,方便开发者
1111

1212
```groovy
1313
repositories {
14-
// TODO Remove this repository once the new version is released
15-
maven {
16-
name = 'Central Portal Snapshots'
17-
url = 'https://central.sonatype.com/repository/maven-snapshots/'
18-
19-
// Only search this repository for the specific dependency
20-
content {
21-
includeGroupAndSubgroups('run.halo')
22-
}
23-
}
2414
mavenCentral()
2515
}
2616
2717
dependencies {
28-
// TODO Change to a released version once available
29-
implementation platform('run.halo.tools.platform:plugin:2.23.0-SNAPSHOT')
18+
implementation platform('run.halo.tools.platform:plugin:2.23.0')
3019
}
3120
3221
halo {
33-
version = '2.23.0-beta.2'
22+
version = '2.23.0'
3423
}
3524
```
3625

0 commit comments

Comments
 (0)