Skip to content

Commit

Permalink
update spl-token
Browse files Browse the repository at this point in the history
  • Loading branch information
Fankouzu committed May 22, 2024
1 parent 1bc33a3 commit 4c422df
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
19 changes: 19 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ function nav(): DefaultTheme.NavItem[] {
link: "/CLI/connecting-to-a-cluster",
activeMatch: "/CLI/",
},
{
text: "SPL Token",
link: "/SPL-Token/index",
activeMatch: "/SPL/",
},
];
}

Expand Down Expand Up @@ -63,6 +68,19 @@ function sidebarCLI(): DefaultTheme.SidebarItem[] {
},
];
}

function sidebarSPL(): DefaultTheme.SidebarItem[] {
return [
{
text: "SPL Token",
collapsed: false,
items: [
{ text: "概述", link: "/index" },
{ text: "Token程序", link: "/token" },
],
},
];
}
// refer https://vitepress.dev/reference/site-config for details
export default defineConfig({
lang: "zh-CN",
Expand All @@ -78,6 +96,7 @@ export default defineConfig({
items: sidebarIntroduction(),
},
"/CLI/": { base: "/CLI/", items: sidebarCLI() },
"/SPL-Token/": { base: "/SPL-Token/", items: sidebarSPL() },
},
},
});
4 changes: 3 additions & 1 deletion docs/SPL-Token/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Spl-Token
# Introduction

Solana 程序库 (SPL) 是针对 Sealevel 并行运行时的链上程序的集合。 这些程序针对 Solana 的 Sealevel 实现、solana-runtime 进行了测试,并部署到其主网。 当其他人实现 Sealevel 时,我们将慷慨地接受补丁,以确保此处的程序可在所有实现中移植。
File renamed without changes.

0 comments on commit 4c422df

Please sign in to comment.