test lignt star
This commit is contained in:
parent
f87bec6b88
commit
f48076d2e3
@ -10,6 +10,14 @@ export default defineConfig({
|
|||||||
title: 'SelfHost-Hub',
|
title: 'SelfHost-Hub',
|
||||||
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/songtianlun/selfhost-hub' }],
|
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/songtianlun/selfhost-hub' }],
|
||||||
sidebar: [
|
sidebar: [
|
||||||
|
{
|
||||||
|
label: 'Tools',
|
||||||
|
autogenerate: { directory: 'tools' },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Services',
|
||||||
|
autogenerate: { directory: 'services' },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Guides',
|
label: 'Guides',
|
||||||
items: [
|
items: [
|
||||||
@ -24,15 +32,21 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
defaultLocale: 'root',
|
defaultLocale: 'root',
|
||||||
locales: {
|
locales: {
|
||||||
|
// 简体中文文档在 `src/content/docs/` 中。
|
||||||
root: {
|
root: {
|
||||||
label: 'English',
|
label: '简体中文',
|
||||||
lang: 'en', // lang 是 root 语言必须的
|
lang: 'zh-CN',
|
||||||
},
|
|
||||||
// 简体中文文档在 `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
6766
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -9,3 +9,5 @@ Less concerned with telling a story or addressing a specific use case, they shou
|
|||||||
## Further reading
|
## Further reading
|
||||||
|
|
||||||
- Read [about reference](https://diataxis.fr/reference/) in the Diátaxis framework
|
- Read [about reference](https://diataxis.fr/reference/) in the Diátaxis framework
|
||||||
|
|
||||||
|
- [Awesome-Selfhosted](https://github.com/awesome-selfhosted/awesome-selfhosted)
|
||||||
|
15
src/content/docs/services/umami.md
Normal file
15
src/content/docs/services/umami.md
Normal 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
|
14
src/content/docs/tools/docker.md
Normal file
14
src/content/docs/tools/docker.md
Normal 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
|
11
src/content/docs/tools/example.md
Normal file
11
src/content/docs/tools/example.md
Normal 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
|
Loading…
Reference in New Issue
Block a user