Skip to content

Commit 27a4ae2

Browse files
committed
fix(config): standardize hostname quotes and add collapsed property to sidebar config
1 parent b1e03ae commit 27a4ae2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/.vitepress/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const vitePressConfig: UserConfig = {
99
description: "A declarative, immediate-mode UI framework for Rust",
1010

1111
sitemap: {
12-
hostname: 'https://tessera-ui.github.io/',
12+
hostname: "https://tessera-ui.github.io/",
1313
},
1414

1515
head: [
@@ -72,6 +72,7 @@ const vitePressSidebarConfigs = supportedLocales.map((lang) => ({
7272
...(lang === rootLocale ? {} : { basePath: `/${lang}/` }),
7373
documentRootPath: `docs/${lang}`,
7474
resolvePath: lang === rootLocale ? "/" : `/${lang}/`,
75+
collapsed: true,
7576
}));
7677

7778
const vitePressI18nConfig: VitePressI18nOptions = {

0 commit comments

Comments
 (0)