test lignt star

This commit is contained in:
songtianlun 2025-04-20 16:44:08 +08:00
parent f87bec6b88
commit f48076d2e3
6 changed files with 6829 additions and 7 deletions

View File

@ -10,6 +10,14 @@ export default defineConfig({
title: 'SelfHost-Hub',
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/songtianlun/selfhost-hub' }],
sidebar: [
{
label: 'Tools',
autogenerate: { directory: 'tools' },
},
{
label: 'Services',
autogenerate: { directory: 'services' },
},
{
label: 'Guides',
items: [
@ -24,15 +32,21 @@ export default defineConfig({
],
defaultLocale: 'root',
locales: {
// 简体中文文档在 `src/content/docs/` 中。
root: {
label: 'English',
lang: 'en', // lang 是 root 语言必须的
},
// 简体中文文档在 `src/content/docs/zh-cn/` 中。
'zh-cn': {
label: '简体中文',
lang: 'zh-CN',
},
// en in `src/content/docs/en/`
'en': {
label: 'English',
lang: 'en',
},
// 简体中文文档在 `src/content/docs/zh-cn/` 中。
// 'zh-cn': {
// label: '简体中文',
// lang: 'zh-CN',
// },
},
}),
],

6766
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -9,3 +9,5 @@ Less concerned with telling a story or addressing a specific use case, they shou
## Further reading
- Read [about reference](https://diataxis.fr/reference/) in the Diátaxis framework
- [Awesome-Selfhosted](https://github.com/awesome-selfhosted/awesome-selfhosted)

View File

@ -0,0 +1,15 @@
---
title: Umami
description: A guide in my new Starlight docs site.
sidebar:
badge:
text: Docker
variant: tip
---
Guides lead a user through a specific task they want to accomplish, often with a sequence of steps.
Writing a good guide requires thinking about what your users are trying to do.
## Further reading
- Read [about how-to guides](https://diataxis.fr/how-to-guides/) in the Diátaxis framework

View File

@ -0,0 +1,14 @@
---
title: Docker
description: A guide in my new Starlight docs site.
badge:
text: New
variant: tip
---
Guides lead a user through a specific task they want to accomplish, often with a sequence of steps.
Writing a good guide requires thinking about what your users are trying to do.
## Further reading
- Read [about how-to guides](https://diataxis.fr/how-to-guides/) in the Diátaxis framework

View File

@ -0,0 +1,11 @@
---
title: Example Guide
description: A guide in my new Starlight docs site.
---
Guides lead a user through a specific task they want to accomplish, often with a sequence of steps.
Writing a good guide requires thinking about what your users are trying to do.
## Further reading
- Read [about how-to guides](https://diataxis.fr/how-to-guides/) in the Diátaxis framework