📝 Migrate the old docs to new solar network docs

This commit is contained in:
2025-12-07 19:42:35 +08:00
parent 9a8d932670
commit f0345d5bb5
11 changed files with 528 additions and 7 deletions

View File

@@ -4,14 +4,12 @@ import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
site: 'https://kb.solsynth.dev',
site: "https://kb.solsynth.dev",
integrations: [
starlight({
title: "Suki",
description:
"Solsynth's products kownledge base, including Solar Network, GoatCraft and more.",
defaultLocale: "zh-cn",
locales: {
"Solsynth's products kownledge base, including Solar Network, GoatCraft and more.", defaultLocale: "zh-cn", locales: {
en: {
label: "English",
},
@@ -30,7 +28,44 @@ export default defineConfig({
sidebar: [
{
label: "Solar Network",
autogenerate: { directory: "solar-network" },
items: [
{
label: "Getting Started",
link: "solar-network",
translations: { "zh-CN": "快速开始" },
},
{
label: "Solarpass",
link: "solar-network/account",
translations: { "zh-CN": "太阳通行证" },
},
{
label: "Publish & Publishers",
link: "solar-network/publisher",
translations: { "zh-CN": "发布者和发布内容" },
},
{
label: "Stickers & Pack",
link: "solar-network/sticker",
translations: { "zh-CN": "贴图与贴图包" },
},
{
label: "Wallet",
link: "solar-network/wallet",
translations: { "zh-CN": "源点钱包" },
},
{
label: "Stellar Program",
link: "solar-network/stellar-program",
translations: { "zh-CN": "恒星计划" },
},
{
label: "Open Platform",
autogenerate: { directory: "solar-network/developers" },
translations: { "zh-CN": "开放平台" },
collapsed: true,
},
],
},
{
label: "GoatCraft",
@@ -39,6 +74,7 @@ export default defineConfig({
{
label: "Solsynth Works",
autogenerate: { directory: "standards" },
translations: { "zh-cn": "标准" },
},
],
}),