Skip to content

Commit aa0ef40

Browse files
committed
docs: update deployment section titles and improve font styling in navbar
1 parent e4134e9 commit aa0ef40

File tree

2 files changed

+13
-28
lines changed

2 files changed

+13
-28
lines changed

.vitepress/config.mjs

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -291,30 +291,28 @@ export default defineConfig({
291291
collapsed: false,
292292
items: [
293293
{
294-
text: "Deploy AstrBot",
294+
text: "Installation",
295295
base: "/en/deploy/astrbot",
296296
collapsed: false,
297297
items: [
298-
{ text: "📦 Package Manager Deployment", link: "/package" },
299-
{ text: "🦈 Docker Deployment", link: "/docker" },
300-
{ text: "☸️ Kubernetes Deployment", link: "/kubernetes" },
301-
{ text: "👍 Manual Deployment", link: "/cli" },
302-
{ text: "😁 BT Panel Deployment", link: "/btpanel" },
303-
{ text: "🥇 1Panel Deployment", link: "/1panel" },
298+
{ text: "Package Manager", link: "/package" },
299+
{ text: "Docker", link: "/docker" },
300+
{ text: "Kubernetes", link: "/kubernetes" },
301+
{ text: "Manual", link: "/cli" },
302+
{ text: "BT Panel", link: "/btpanel" },
303+
{ text: "1Panel", link: "/1panel" },
304304
{
305305
text: "Other Deployments",
306306
link: "/other-deployments",
307307
collapsed: true,
308308
items: [
309-
{ text: "CasaOS Deployment", link: "/casaos" },
310-
{ text: "Compshare GPU Deployment", link: "/compshare" },
311-
{ text: "Community Deployments", link: "/community-deployment" },
309+
{ text: "CasaOS", link: "/casaos" },
312310
],
313311
},
314312
],
315313
},
316314
{
317-
text: "Connect to Messaging Platforms",
315+
text: "Configure Bots",
318316
base: "/en/deploy/platform",
319317
collapsed: false,
320318
items: [

.vitepress/theme/styles/font.css

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
/*.vitepress/theme/styles/font.scss*/
2-
3-
:root {
4-
--vp-font-family-base: "Outfit", sans-serif;
5-
--vp-font-family-mono: "JetBrains Mono", monospace; /* code font */
1+
/* Keep only the top-left navbar title in Outfit; use VitePress defaults elsewhere. */
2+
.VPNavBarTitle .title,
3+
.VPNavBarTitle .title .text {
4+
font-family: "Outfit", sans-serif !important;
65
}
7-
8-
html, body, #app, .VPDoc, .VPContent, .VPNav, .VPNavBar, .VPFooter,
9-
.VPSidebar, .VPDocAside, .VPTeamPage, .VPHomeHero, .VPFeatures,
10-
.custom-block, .main, .content, p, h1, h2, h3, h4, h5, h6 {
11-
font-family: var(--vp-font-family-base) !important;
12-
}
13-
14-
pre, code, kbd, samp,
15-
.VPDoc pre, .VPDoc code, .VPContent pre, .VPContent code,
16-
.VPDocAside pre, .VPDocAside code {
17-
font-family: var(--vp-font-family-mono) !important;
18-
}

0 commit comments

Comments
 (0)