Skip to content

Commit fda0c0f

Browse files
authored
Merge pull request #122 from simple-robot/dev/main
Release: v4.0.0-beta1
2 parents 02052c0 + 43917e3 commit fda0c0f

File tree

385 files changed

+19960
-8429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

385 files changed

+19960
-8429
lines changed

.changelog/v4.0.0-beta1.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
> 对应核心版本: [**v4.0.0-beta1**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-beta1)
2+
3+
4+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls)
5+
感谢您的贡献与支持!
6+
7+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

.changelog/v4.0.0-dev1.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> 对应核心版本: [**v4.0.0-dev2**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-dev2)
2+
3+
4+
> [!warning]
5+
> **目前版本处于 `dev` 阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
6+
7+
8+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls)
9+
感谢您的贡献与支持!
10+
11+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

.changelog/v4.0.0-dev2.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> 对应核心版本: [**v4.0.0-dev4**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-dev4)
2+
3+
4+
> [!warning]
5+
> **目前版本处于 `dev` 阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
6+
7+
8+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls)
9+
感谢您的贡献与支持!
10+
11+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

.changelog/v4.0.0-dev3.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> 对应核心版本: [**v4.0.0-dev6**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-dev6)
2+
3+
4+
> [!warning]
5+
> **目前版本处于 `dev` 阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
6+
7+
8+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls)
9+
感谢您的贡献与支持!
10+
11+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

.changelog/v4.0.0-dev4.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> 对应核心版本: [**v4.0.0-dev11**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-dev11)
2+
3+
4+
> [!warning]
5+
> **目前版本处于 `dev` 阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
6+
7+
8+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls)
9+
感谢您的贡献与支持!
10+
11+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

.changelog/v4.0.0-dev5.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> 对应核心版本: [**v4.0.0-dev13**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-dev13)
2+
3+
4+
> [!warning]
5+
> **目前版本处于 `dev` 阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
6+
7+
8+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls)
9+
感谢您的贡献与支持!
10+
11+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

.changelog/v4.0.0-dev6.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> 对应核心版本: [**v4.0.0-dev14**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-dev14)
2+
3+
4+
> [!warning]
5+
> **目前版本处于 `dev` 阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
6+
7+
8+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls)
9+
感谢您的贡献与支持!
10+
11+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

.changelog/v4.0.0-dev7.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> 对应核心版本: [**v4.0.0-dev15**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-dev15)
2+
3+
4+
> [!warning]
5+
> **目前版本处于 `dev` 阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
6+
7+
8+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls)
9+
感谢您的贡献与支持!
10+
11+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

.changelog/v4.0.0-dev8.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> 对应核心版本: [**v4.0.0-dev18**](https://github.com/simple-robot/simpler-robot/releases/tag/v4.0.0-dev18)
2+
3+
4+
> [!warning]
5+
> **目前版本处于 `dev` 阶段,代表此版本是一个开发预览版,可能不稳定、可能随时发生更改、且不保证可用性。**
6+
7+
8+
我们欢迎并期望着您的的[反馈](https://github.com/simple-robot/simbot-component-qq-guild/issues)[协助](https://github.com/simple-robot/simbot-component-qq-guild/pulls)
9+
感谢您的贡献与支持!
10+
11+
也欢迎您为我们献上一颗 `star`,这是对我们最大的鼓励与认可!

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: ForteScarlet
4+
patreon: ForteScarlet
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ blank_issues_enabled: true
33
contact_links:
44
- name: 问题反馈
55
url: https://github.com/simple-robot/simpler-robot/issues/new/choose
6-
about: 统一的问题反馈处
6+
about: simbot统一的问题反馈处
77

88
- name: 社区
99
url: https://github.com/orgs/simple-robot/discussions

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gradle
4+
directory: /
5+
target-branch: "dev/main"
6+
schedule:
7+
interval: daily
8+
labels:
9+
- dependencies

.github/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ changelog:
1919
- title: '✨ 优化'
2020
labels:
2121
- '优化'
22+
- title: '📦 依赖更新'
23+
labels:
24+
- 'dependencies'
2225
- title: '👀 其他变更'
2326
labels:
2427
- '*'
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
name: Deploy Website
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- dev/ver/**
7+
- dev/main
8+
# - v4-dev/main
9+
# - v4-dev/v4-upgrade
10+
11+
paths:
12+
- 'Writerside/**'
13+
- '.github/workflows/deploy-v4-website.yml'
14+
# Specify to run a workflow manually from the Actions tab on GitHub
15+
workflow_dispatch:
16+
17+
# Gives the workflow permissions to clone the repo and create a page deployment
18+
permissions:
19+
id-token: write
20+
pages: write
21+
22+
env:
23+
# Name of module and id separated by a slash
24+
INSTANCE: Writerside/qg
25+
INSTANCE_NAME: qg
26+
# Replace HI with the ID of the instance in capital letters
27+
ARTIFACT: webHelpQG2-all.zip
28+
# Writerside docker image version
29+
DOCKER_VERSION: 233.14272
30+
# Add the variable below to upload Algolia indexes
31+
# Replace HI with the ID of the instance in capital letters
32+
ALGOLIA_ARTIFACT: algolia-indexes-QG.zip
33+
ALGOLIA_APP_NAME: VLLZ4JZE8Z
34+
ALGOLIA_INDEX_NAME: qg-doc
35+
36+
jobs:
37+
build:
38+
runs-on: ubuntu-latest
39+
outputs:
40+
config_json: ${{ steps.output-config-json.outputs.config_json }}
41+
42+
steps:
43+
- name: Checkout repository
44+
uses: actions/checkout@v4
45+
46+
- name: Build Writerside docs using Docker
47+
uses: JetBrains/writerside-github-action@v4
48+
with:
49+
instance: ${{ env.INSTANCE }}
50+
artifact: ${{ env.ARTIFACT }}
51+
docker-version: ${{ env.DOCKER_VERSION }}
52+
53+
- name: Upload documentation
54+
uses: actions/upload-artifact@v3
55+
with:
56+
name: docs
57+
path: |
58+
artifacts/${{ env.ARTIFACT }}
59+
artifacts/report.json
60+
retention-days: 7
61+
62+
# Add the step below to upload Algolia indexes
63+
- name: Upload algolia-indexes
64+
uses: actions/upload-artifact@v3
65+
with:
66+
name: algolia-indexes
67+
path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
68+
retention-days: 7
69+
70+
- name: Unzip artifact
71+
run: unzip -O UTF-8 -qq artifacts/${{ env.ARTIFACT }} -d dir
72+
73+
- name: Output documentation config.json
74+
id: output-config-json
75+
run: |
76+
echo "config_json=$(cat dir/config.json)" >> $GITHUB_OUTPUT
77+
78+
# Add the job below and artifacts/report.json on Upload documentation step above if you want to fail the build when documentation contains errors
79+
test:
80+
# Requires build job results
81+
needs: build
82+
runs-on: ubuntu-latest
83+
84+
steps:
85+
- name: Download artifacts
86+
uses: actions/download-artifact@v1
87+
with:
88+
name: docs
89+
path: artifacts
90+
91+
- name: Test documentation
92+
uses: JetBrains/writerside-checker-action@v1
93+
with:
94+
instance: ${{ env.INSTANCE }}
95+
96+
deploy:
97+
environment:
98+
name: github-pages
99+
url: ${{ steps.deployment.outputs.page_url }}
100+
# Requires the build job results
101+
needs: test
102+
runs-on: ubuntu-latest
103+
steps:
104+
- name: Download artifact
105+
uses: actions/download-artifact@v3
106+
with:
107+
name: docs
108+
109+
- name: Unzip artifact
110+
run: unzip -O UTF-8 -qq ${{ env.ARTIFACT }} -d dir
111+
112+
- name: Setup Pages
113+
uses: actions/configure-pages@v2
114+
115+
- name: Upload artifact
116+
uses: actions/upload-pages-artifact@v1
117+
with:
118+
path: dir
119+
120+
- name: Deploy to GitHub Pages
121+
id: deployment
122+
uses: actions/deploy-pages@v1
123+
124+
# https://www.jetbrains.com/help/writerside/configure-search.html
125+
publish-indexes:
126+
# Requires the build-job results
127+
needs: [build, test]
128+
runs-on: ubuntu-latest
129+
container:
130+
image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-2
131+
132+
env:
133+
134+
CONFIG_JSON_VERSION: ${{ fromJSON(needs.build.outputs.config_json).productVersion }}
135+
136+
steps:
137+
- name: Download artifact
138+
uses: actions/download-artifact@v3
139+
with:
140+
name: algolia-indexes
141+
142+
143+
- name: Unzip artifact
144+
run: |
145+
unzip -O UTF-8 -qq ${{ env.ALGOLIA_ARTIFACT }} -d algolia-indexes
146+
env "algolia-key=${{secrets.ALGOLIA_KEY}}" java -jar /opt/builder/help-publication-agent.jar \
147+
update-index \
148+
--application-name ${{env.ALGOLIA_APP_NAME}} \
149+
--index-name ${{env.ALGOLIA_INDEX_NAME}} \
150+
--product ${{env.INSTANCE_NAME}} \
151+
--version ${{env.CONFIG_JSON_VERSION}} \
152+
--index-directory algolia-indexes/ \
153+
2>&1 | tee algolia-update-index-log.txt

.github/workflows/doc-test-branch.yml

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,53 @@ on:
44
branches:
55
- 'dev/**'
66
paths:
7-
- 'website/**'
7+
- 'Writerside/**'
8+
# Specify to run a workflow manually from the Actions tab on GitHub
9+
workflow_dispatch:
810

911
concurrency:
1012
group: ${{ github.workflow }}-${{ github.ref }}
1113
cancel-in-progress: true
1214

1315
jobs:
14-
deploy-website:
15-
name: Build Website
16+
build:
1617
runs-on: ubuntu-latest
18+
1719
steps:
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-node@v3
20+
- name: Checkout repository
21+
uses: actions/checkout@v3
22+
23+
- name: Build Writerside docs using Docker
24+
uses: JetBrains/writerside-github-action@v4
25+
with:
26+
instance: ${{ env.INSTANCE }}
27+
artifact: ${{ env.ARTIFACT }}
28+
docker-version: ${{ env.DOCKER_VERSION }}
29+
30+
- name: Upload documentation
31+
uses: actions/upload-artifact@v3
32+
with:
33+
name: docs
34+
path: |
35+
artifacts/${{ env.ARTIFACT }}
36+
artifacts/report.json
37+
retention-days: 7
38+
39+
# Add the job below and artifacts/report.json on Upload documentation step above if you want to fail the build when documentation contains errors
40+
test:
41+
name: Test documentation built
42+
# Requires build job results
43+
needs: build
44+
runs-on: ubuntu-latest
45+
46+
steps:
47+
- name: Download artifacts
48+
uses: actions/download-artifact@v1
49+
with:
50+
name: docs
51+
path: artifacts
52+
53+
- name: Test documentation
54+
uses: JetBrains/writerside-checker-action@v1
2055
with:
21-
node-version: 16.x
22-
cache: npm
23-
cache-dependency-path: ./website/package-lock.json
24-
25-
- run: |
26-
npm ci
27-
npm run build
28-
working-directory: ./website
56+
instance: ${{ env.INSTANCE }}

.github/workflows/kdoc.yml.bk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Gradle generate documentation
2929
uses: gradle/gradle-build-action@v2
3030
with:
31-
gradle-version: 7.6
31+
gradle-version: 8.5
3232
arguments: |
3333
-Porg.gradle.jvmargs="-Xmx4g -Xms4g -XX:MaxMetaspaceSize=2g -Dfile.encoding=UTF-8"
3434
-Porg.gradle.daemon=false
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
personal_token: ${{ secrets.PUSH_TOKEN }}
4646
external_repository: simple-robot-library/simbot3-api-docs
47-
publish_branch: kdoc-deploy/component-tencent-guild
47+
publish_branch: kdoc-deploy/component-tencent-guild-v3
4848
publish_dir: ./build/dokka/html
4949
# deploy to sub dir
50-
destination_dir: components/tencent-guild
50+
destination_dir: components/tencent-guild-v3

0 commit comments

Comments
 (0)