Skip to content

Commit 3b589f8

Browse files
authored
feat: add initial Docusaurus site structure with example pages (#476)
* feat: add initial Docusaurus site structure with example pages and styles * Add Docusaurus site * feat: add new documentation chapters for contact, spring integration, and CSV handling * fix: update social card image and GitHub link in configuration * fix: update site URL and organization name in Docusaurus configuration
1 parent 2bf3402 commit 3b589f8

File tree

97 files changed

+23638
-10
lines changed

Some content is hidden

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

97 files changed

+23638
-10
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy Docusaurus to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ] # 或 master,取决于你的默认分支
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: 18
17+
- run: cd website && npm ci
18+
- run: cd website && npm run build
19+
- uses: peaceiris/actions-gh-pages@v3
20+
with:
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
publish_dir: website/build

docs/zh-CN/fill/fill.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ public void listFill() {
7878
```
7979

8080
### 模板
81-
![img](../../images/fill/listFill_file.png)
81+
![img](../images/fill/listFill_file.png)
8282

8383
### 结果
84-
![img](../../images/fill/listFill_result.png)
84+
![img](../images/fill/listFill_result.png)
8585

8686
---
8787

@@ -113,10 +113,10 @@ public void complexFill() {
113113
```
114114

115115
### 模板
116-
![img](../../images/fill/complexFill_file.png)
116+
![img](../images/fill/complexFill_file.png)
117117

118118
### 结果
119-
![img](../../images/fill/complexFill_result.png)
119+
![img](../images/fill/complexFill_result.png)
120120

121121
---
122122

@@ -151,10 +151,10 @@ public void complexFillWithTable() {
151151
```
152152

153153
### 模板
154-
![img](../../images/fill/complexFillWithTable_file.png)
154+
![img](../images/fill/complexFillWithTable_file.png)
155155

156156
### 结果
157-
![img](../../images/fill/complexFillWithTable_result.png)
157+
![img](../images/fill/complexFillWithTable_result.png)
158158

159159
---
160160

@@ -183,10 +183,10 @@ public void horizontalFill() {
183183
```
184184

185185
### 模板
186-
![img](../../images/fill/horizontalFill_file.png)
186+
![img](../images/fill/horizontalFill_file.png)
187187

188188
### 结果
189-
![img](../../images/fill/horizontalFill_result.png)
189+
![img](../images/fill/horizontalFill_result.png)
190190

191191
---
192192

@@ -217,7 +217,7 @@ public void compositeFill() {
217217
```
218218

219219
### 模板
220-
![img](../../images/fill/compositeFill_file.png)
220+
![img](../images/fill/compositeFill_file.png)
221221

222222
### 结果
223-
![img](../../images/fill/compositeFill_result.png)
223+
![img](../images/fill/compositeFill_result.png)

0 commit comments

Comments
 (0)