Skip to content

Commit b85838a

Browse files
authored
docs: #339 hooks sort (#340)
Co-authored-by: liuyi <[email protected]>
1 parent 3cf4a56 commit b85838a

File tree

7 files changed

+9
-11
lines changed

7 files changed

+9
-11
lines changed

.github/workflows/CD.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ jobs:
3434
shell: bash
3535
run: |
3636
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
37-
37+
3838
- uses: actions/cache@v3
3939
name: Setup pnpm cache
4040
with:
4141
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
4242
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
4343
restore-keys: |
4444
${{ runner.os }}-pnpm-store-
45-
45+
4646
- name: Install dependencies
4747
run: pnpm install
4848

@@ -52,4 +52,4 @@ jobs:
5252
- name: Deploy gh-pages
5353
uses: JamesIves/github-pages-deploy-action@v4
5454
with:
55-
folder: docs-dist
55+
folder: docs-dist

.github/workflows/CI.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
shell: bash
3434
run: |
3535
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
36-
36+
3737
- uses: actions/cache@v3
3838
name: Setup pnpm cache
3939
with:
4040
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
4141
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
4242
restore-keys: |
4343
${{ runner.os }}-pnpm-store-
44-
44+
4545
- name: Install dependencies
4646
run: pnpm install
4747

@@ -52,4 +52,4 @@ jobs:
5252
run: pnpm build
5353

5454
- name: Run tests
55-
run: pnpm test
55+
run: pnpm test

README-zh_CN.md

-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ pnpm publish --registry https://registry.npmjs.org/
8888
### 发布站点
8989

9090
```bash
91-
pnpm docs:build
9291
pnpm deploy
9392
```
9493

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ pnpm publish --registry https://registry.npmjs.org/
8888
### Publish website
8989

9090
```bash
91-
pnpm docs:build
9291
pnpm deploy
9392
```
9493

src/cookies/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: useCookieListener 监听 Cookie 变更
3-
group: 组件
3+
group: Hooks
44
toc: content
55
demo:
66
cols: 1

src/switchWindow/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: useWindowSwitchListener 监听窗口触发焦点事件
3-
group: 组件
3+
group: Hooks
44
toc: content
55
demo:
66
cols: 2

src/useList/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: useList
2+
title: useList 请求表格数据
33
group: Hooks
44
toc: content
55
---

0 commit comments

Comments
 (0)