From 106cf7a8edb6147d8834895818e5e742b57f78b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=84=9A=E6=8C=87=E5=AF=BC?= Date: Tue, 28 Nov 2023 11:25:48 +0800 Subject: [PATCH] docs: update components category (#134) Co-authored-by: yutingzhao1991 --- packages/web3/src/address/index.md | 4 +++- packages/web3/src/address/index.zh-CN.md | 4 +++- packages/web3/src/browser-link/index.md | 2 +- packages/web3/src/browser-link/index.zh-CN.md | 2 +- packages/web3/src/connect-button/index.md | 5 ++--- packages/web3/src/connect-button/index.zh-CN.md | 3 ++- packages/web3/src/connect-modal/index.md | 3 ++- packages/web3/src/connect-modal/index.zh-CN.md | 3 ++- packages/web3/src/connector/index.md | 5 ++++- packages/web3/src/connector/index.zh-CN.md | 5 ++++- packages/web3/src/icons/index.md | 2 +- packages/web3/src/icons/index.zh-CN.md | 4 +++- packages/web3/src/nft-image/index.md | 2 +- packages/web3/src/nft-image/index.zh-CN.md | 2 +- packages/web3/src/web3-config-provider/index.md | 5 +++-- packages/web3/src/web3-config-provider/index.zh-CN.md | 5 +++-- 16 files changed, 36 insertions(+), 20 deletions(-) diff --git a/packages/web3/src/address/index.md b/packages/web3/src/address/index.md index c098a6b76..0043b7d58 100644 --- a/packages/web3/src/address/index.md +++ b/packages/web3/src/address/index.md @@ -1,6 +1,8 @@ --- nav: Components -group: Components +group: + title: Display + order: 2 --- # Address diff --git a/packages/web3/src/address/index.zh-CN.md b/packages/web3/src/address/index.zh-CN.md index db96fa3fe..c5d2b8dc9 100644 --- a/packages/web3/src/address/index.zh-CN.md +++ b/packages/web3/src/address/index.zh-CN.md @@ -1,6 +1,8 @@ --- nav: 组件 -group: 组件 +group: + title: 展示 + order: 2 --- # Address diff --git a/packages/web3/src/browser-link/index.md b/packages/web3/src/browser-link/index.md index 63a07caf8..ae19f6f55 100644 --- a/packages/web3/src/browser-link/index.md +++ b/packages/web3/src/browser-link/index.md @@ -1,6 +1,6 @@ --- nav: Components -group: Components +group: Display --- # BrowserLink diff --git a/packages/web3/src/browser-link/index.zh-CN.md b/packages/web3/src/browser-link/index.zh-CN.md index 17ac27b27..fd881ca94 100644 --- a/packages/web3/src/browser-link/index.zh-CN.md +++ b/packages/web3/src/browser-link/index.zh-CN.md @@ -1,6 +1,6 @@ --- nav: 组件 -group: 组件 +group: 展示 --- # BrowerLink diff --git a/packages/web3/src/connect-button/index.md b/packages/web3/src/connect-button/index.md index 84e4645d4..20726c550 100644 --- a/packages/web3/src/connect-button/index.md +++ b/packages/web3/src/connect-button/index.md @@ -1,8 +1,7 @@ --- nav: Components -group: - title: Components - order: 2 +group: Connect +order: 1 --- # ConnectButton diff --git a/packages/web3/src/connect-button/index.zh-CN.md b/packages/web3/src/connect-button/index.zh-CN.md index 0e20f5eb7..1a419a47f 100644 --- a/packages/web3/src/connect-button/index.zh-CN.md +++ b/packages/web3/src/connect-button/index.zh-CN.md @@ -1,6 +1,7 @@ --- nav: 组件 -group: 组件 +group: 连接 +order: 1 --- # ConnectButton diff --git a/packages/web3/src/connect-modal/index.md b/packages/web3/src/connect-modal/index.md index 247331fd0..c83c5c407 100644 --- a/packages/web3/src/connect-modal/index.md +++ b/packages/web3/src/connect-modal/index.md @@ -1,6 +1,7 @@ --- nav: Components -group: Components +group: Connect +order: 2 --- # ConnectModal diff --git a/packages/web3/src/connect-modal/index.zh-CN.md b/packages/web3/src/connect-modal/index.zh-CN.md index d4a8764ed..f5251f0cd 100644 --- a/packages/web3/src/connect-modal/index.zh-CN.md +++ b/packages/web3/src/connect-modal/index.zh-CN.md @@ -1,6 +1,7 @@ --- nav: 组件 -group: 组件 +group: 连接 +order: 2 --- # ConnectModal diff --git a/packages/web3/src/connector/index.md b/packages/web3/src/connector/index.md index b93a094ec..9a6351038 100644 --- a/packages/web3/src/connector/index.md +++ b/packages/web3/src/connector/index.md @@ -1,6 +1,9 @@ --- nav: Components -group: Components +group: + title: Connect + order: 1 +order: 0 --- # Connector diff --git a/packages/web3/src/connector/index.zh-CN.md b/packages/web3/src/connector/index.zh-CN.md index 9312506cd..81a27dfe6 100644 --- a/packages/web3/src/connector/index.zh-CN.md +++ b/packages/web3/src/connector/index.zh-CN.md @@ -1,6 +1,9 @@ --- nav: 组件 -group: 组件 +group: + title: 连接 + order: 1 +order: 0 --- # Connector diff --git a/packages/web3/src/icons/index.md b/packages/web3/src/icons/index.md index eb664efa1..fc8b5d311 100644 --- a/packages/web3/src/icons/index.md +++ b/packages/web3/src/icons/index.md @@ -2,7 +2,7 @@ nav: Components group: title: General - order: 1 + order: 0 order: 1 --- diff --git a/packages/web3/src/icons/index.zh-CN.md b/packages/web3/src/icons/index.zh-CN.md index 04f9e12e2..db56ff83f 100644 --- a/packages/web3/src/icons/index.zh-CN.md +++ b/packages/web3/src/icons/index.zh-CN.md @@ -1,6 +1,8 @@ --- nav: 组件 -group: 通用 +group: + title: 通用 + order: 0 order: 1 --- diff --git a/packages/web3/src/nft-image/index.md b/packages/web3/src/nft-image/index.md index 2b6b34ba1..157030e4b 100644 --- a/packages/web3/src/nft-image/index.md +++ b/packages/web3/src/nft-image/index.md @@ -1,6 +1,6 @@ --- nav: Components -group: Components +group: Display --- # NFTImage diff --git a/packages/web3/src/nft-image/index.zh-CN.md b/packages/web3/src/nft-image/index.zh-CN.md index 1dd138f87..ee975fb6e 100644 --- a/packages/web3/src/nft-image/index.zh-CN.md +++ b/packages/web3/src/nft-image/index.zh-CN.md @@ -1,6 +1,6 @@ --- nav: 组件 -group: 组件 +group: 展示 --- # NFTImage diff --git a/packages/web3/src/web3-config-provider/index.md b/packages/web3/src/web3-config-provider/index.md index 3a998d5e5..b7e5b0714 100644 --- a/packages/web3/src/web3-config-provider/index.md +++ b/packages/web3/src/web3-config-provider/index.md @@ -1,7 +1,8 @@ --- nav: Components -group: General -order: 3 +group: + title: Advanced + order: 3 --- # Web3ConfigProvider diff --git a/packages/web3/src/web3-config-provider/index.zh-CN.md b/packages/web3/src/web3-config-provider/index.zh-CN.md index 45522f288..ae46a10df 100644 --- a/packages/web3/src/web3-config-provider/index.zh-CN.md +++ b/packages/web3/src/web3-config-provider/index.zh-CN.md @@ -1,7 +1,8 @@ --- nav: 组件 -group: 通用 -order: 3 +group: + title: 高级 + order: 3 --- # Web3ConfigProvider