Skip to content

Commit e7ba532

Browse files
author
hatateaya
committed
Initial Commit
0 parents  commit e7ba532

8 files changed

Lines changed: 103 additions & 0 deletions

File tree

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pnpm-lock.yaml
2+
pnpm-workspace.yaml
3+
node_modules/
4+
docs/.vitepress/dist
5+
docs/.vitepress/cache
6+
.vscode/
7+
.DS_Store

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# 精神科维基 / Psychiatric Wiki
3+
4+
一个旨在于揭露批判现行精神科医疗体制并为社群自助的精神医学支持提供支援的维基
5+
6+
A wiki dedicated to exposing and critiquing the current psychiatric healthcare system and providing support for community
7+
8+
## 如何构建 / How to Build
9+
10+
```
11+
curl -o- https://fnm.vercel.app/install | bash
12+
fnm install 24
13+
corepack enable pnpm
14+
pnpm install
15+
pnpm run build
16+
```

docs/.vitepress/config.mts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import { defineConfig } from 'vitepress'
2+
3+
// https://vitepress.dev/reference/site-config
4+
export default defineConfig({
5+
title: "精神科维基 / Psychiatric Wiki",
6+
description: "一个旨在于揭露批判现行精神科医疗体制并为社群自助的精神医学支持提供支援的维基 / A wiki dedicated to exposing and critiquing the current psychiatric healthcare system and providing support for community",
7+
themeConfig: {
8+
// https://vitepress.dev/reference/default-theme-config
9+
nav: [
10+
{ text: 'Home', link: '/' }
11+
],
12+
/*
13+
sidebar: [
14+
{
15+
text: 'Examples',
16+
items: [
17+
{ text: 'Markdown Examples', link: '/markdown-examples' },
18+
{ text: 'Runtime API Examples', link: '/api-examples' }
19+
]
20+
}
21+
],
22+
*/
23+
socialLinks: [
24+
{ icon: 'github', link: 'https://github.com/psychiatric-wiki/' }
25+
]
26+
27+
}
28+
})

docs/expose-and-criticize.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
# 揭露与批判 / Exposing and Critiquing
3+
4+
pass

docs/index.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
# https://vitepress.dev/reference/default-theme-home-page
3+
layout: home
4+
5+
hero:
6+
name: "精神科维基"
7+
text: "Psychiatric Wiki"
8+
tagline: "一个旨在于揭露批判现行精神科医疗体制并为社群自助的精神医学支持提供支援的维基\nA wiki dedicated to exposing and critiquing the current psychiatric healthcare system and providing support for community"
9+
actions:
10+
- theme: brand
11+
text: 揭露与批判 / Exposing and Critiquing
12+
link: /expose-and-criticize
13+
- theme: brand
14+
text: 自助之引路 / Self Supporting's Road Leading
15+
link: /road-lead-of-self-support
16+
- theme: alt
17+
text: 参考 / Reference
18+
link: /references
19+
20+
features:
21+
- title: 我们需要什么
22+
details: 占位符1
23+
- title: 他们是什么
24+
details: 占位符2
25+
- title: 我们是什么
26+
detail: 占位符3
27+
- title: 我们要做什么
28+
detail: 占位符4
29+
---
30+

docs/references.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
# 参考 / Reference
3+
4+
pass

docs/road-lead-of-self-support.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
# 自助之引路 / Self Supporting's Road Leading
3+
4+
pass

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"devDependencies": {
3+
"vitepress": "2.0.0-alpha.12"
4+
},
5+
"scripts": {
6+
"dev": "vitepress dev docs",
7+
"build": "vitepress build docs",
8+
"preview": "vitepress preview docs"
9+
}
10+
}

0 commit comments

Comments
 (0)