Skip to content

Commit

Permalink
Merge branch 'main' into CE-DN
Browse files Browse the repository at this point in the history
  • Loading branch information
Fankouzu authored Jun 12, 2024
2 parents ac996d3 + 1ea89ad commit 7f7dcb4
Show file tree
Hide file tree
Showing 12 changed files with 1,706 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ dist
cache
.DS_Store
package-lock.json
.idea
.idea
.next
Binary file removed docs/.DS_Store
Binary file not shown.
27 changes: 25 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,21 @@ function sidebarSolanaDocumention(): DefaultTheme.SidebarItem[] {
{ text: "概述", link: "programs/overview" },
{ text: "调试程序", link: "programs/debugging" },
{ text: "部署程序", link: "programs/deploying" },
// { text: "程序示例", link: "examples" },
// { text: "常见问题", link: "faq" },
{ text: "程序示例", link: "programs/examples" },
{ text: "常见问题", link: "programs/faq" },
// { text: "使用C语言开发", link: "lang-c" },
// { text: "使用Rust语言开发", link: "lang-rust" },
// { text: "Solana的局限性", link: "limitations" },
],
},
{
text: "更多",
collapsed: false,
base: "/SolanaDocumention/more/",
items: [
{ text: "将 Solana 添加到您的交易所", link: "exchange" },
],
},
];
}

Expand Down Expand Up @@ -195,6 +203,10 @@ function sidebarSolanaValidatorDocumentation(): DefaultTheme.SidebarItem[] {
text: "部署程序",
link: "cli/examples/deploy-a-program",
},
{
text: "离线交易签名",
link: "cli/examples/offline-signing",
},
],
},
],
Expand Down Expand Up @@ -246,6 +258,17 @@ function sidebarSolanaProgramLibrary(): DefaultTheme.SidebarItem[] {
],
},
{ text: "Token 兑换程序", link: "token-swap" },
{ text: "代币升级程序", link: "token-upgrade" },
{ text: "备忘录程序", link: "memo" },
{ text: "域名服务", link: "name-service" },
{ text: "共享内存程序", link: "shared-memory" },
{
text: "质押池",
collapsed: false,
items: [
{ text: "质押池介绍", link: "stake-pool/stake-pool" },
],
},
];
}
// refer https://vitepress.dev/reference/site-config for details
Expand Down
Loading

0 comments on commit 7f7dcb4

Please sign in to comment.