Skip to content

Commit e98ff5a

Browse files
committed
docs: add navigation links for HTTP API in the sidebar and top navigation
1 parent e2d20ac commit e98ff5a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.vitepress/config.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export default defineConfig({
2828
{ text: "开始", link: "/what-is-astrbot" },
2929
{ text: "博客", link: "https://blog.astrbot.app" },
3030
{ text: "路线图", link: "https://astrbot.featurebase.app/roadmap" },
31+
{ text: "HTTP API", link: "https://docs.astrbot.app/scalar.html" },
3132
],
3233
sidebar: [
3334
{
@@ -204,6 +205,10 @@ export default defineConfig({
204205
text: "接入平台适配器",
205206
link: "/plugin-platform-adapter",
206207
},
208+
{
209+
text: "AstrBot HTTP API",
210+
link: "/openapi",
211+
},
207212
],
208213
},
209214
{
@@ -256,6 +261,7 @@ export default defineConfig({
256261
nav: [
257262
{ text: "Home", link: "/en/" },
258263
{ text: "Get Started", link: "/en/what-is-astrbot" },
264+
{ text: "HTTP API", link: "https://docs.astrbot.app/scalar.html" },
259265
],
260266
sidebar: [
261267
{
@@ -425,6 +431,10 @@ export default defineConfig({
425431
text: "Platform Adapter Integration",
426432
link: "/plugin-platform-adapter",
427433
},
434+
{
435+
text: "AstrBot HTTP API",
436+
link: "/openapi",
437+
},
428438
],
429439
},
430440
{

0 commit comments

Comments
 (0)