Skip to content

Commit

Permalink
remove / in sidebar path to fix pre/next page
Browse files Browse the repository at this point in the history
  • Loading branch information
hr98w committed May 25, 2024
1 parent 9ba9b2a commit 57198b2
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ function sidebarIntroduction(): DefaultTheme.SidebarItem[] {
text: "Solana介绍",
collapsed: false,
items: [
{ text: "概述", link: "/overview" },
{ text: "租金经济", link: "/rent" },
{ text: "钱包指南", link: "/wallets" },
{ text: "开发入门", link: "/dev" },
{ text: "概述", link: "overview" },
{ text: "租金经济", link: "rent" },
{ text: "钱包指南", link: "wallets" },
{ text: "开发入门", link: "dev" },
],
},
{
text: "高级概念",
collapsed: false,
items: [
{ text: "版本化交易", link: "/versions" },
{ text: "地址查找表", link: "/lookup-tables" },
{ text: "交易确认及过期", link: "/confirmation" },
{ text: "重试交易", link: "/retry" },
{ text: "版本化交易", link: "versions" },
{ text: "地址查找表", link: "lookup-tables" },
{ text: "交易确认及过期", link: "confirmation" },
{ text: "重试交易", link: "retry" },
{ text: "状态压缩", link: "/state-compression" },
],
},
Expand All @@ -54,26 +54,26 @@ function sidebarCLI(): DefaultTheme.SidebarItem[] {
items: [
{
text: "使用 Solana CLI 连接到集群",
link: "/connecting-to-a-cluster",
link: "connecting-to-a-cluster",
},
{ text: "使用 Solana CLI 质押 SOL", link: "/staking" },
{ text: "使用 CLI 部署 Solana 程序", link: "/deploy-a-program" },
{ text: "Solana CLI 中的持久交易nonce", link: "/durable-nonce" },
{ text: "使用 Solana CLI 质押 SOL", link: "staking" },
{ text: "使用 CLI 部署 Solana 程序", link: "deploy-a-program" },
{ text: "Solana CLI 中的持久交易nonce", link: "durable-nonce" },
{
text: "使用 Solana CLI 进行离线交易签名",
link: "/offline-signing",
link: "offline-signing",
},
{
text: "使用 Solana CLI 进行链下消息签名",
link: "/sign-offchain-message",
link: "sign-offchain-message",
},
{
text: "使用本地集群进行开发",
link: "/test-validator",
link: "test-validator",
},
{
text: "使用 Solana CLI 发送和接收代币",
link: "/transfer-tokens",
link: "transfer-tokens",
},
],
},
Expand All @@ -86,8 +86,8 @@ function sidebarSPL(): DefaultTheme.SidebarItem[] {
text: "SPL Token",
collapsed: false,
items: [
{ text: "概述", link: "/index" },
{ text: "Token程序", link: "/token" },
{ text: "概述", link: "index" },
{ text: "Token程序", link: "token" },
],
},
];
Expand Down

0 comments on commit 57198b2

Please sign in to comment.