Skip to content

Commit 004723e

Browse files
committed
😀: add new note structure and change footer page description
1 parent 33c7ba3 commit 004723e

File tree

5 files changed

+30
-4
lines changed

5 files changed

+30
-4
lines changed

docs/note-np/_category_.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "神经与精神病学",
3+
"position": 14,
4+
"link": {
5+
"type": "generated-index",
6+
"description": "神经纷繁心犹静,精神万象志常明。"
7+
}
8+
}

docs/note-np/intro.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
sidebar_position: 1
3+
sidebar_label: '导读'
4+
---
5+
6+
# 导读
7+

docusaurus.config.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ const config: Config = {
7878
},
7979
{ to: 'docs/note-obgyn/intro', label: '妇产科学', position: 'left'},
8080
{ to: 'docs/note-ped/intro', label: '儿科学', position: 'left'},
81+
{ to: 'docs/note-np/intro', label: '神经与精神病学', position: 'left'},
8182
{ to: 'docs/note-cps/intro', label: '临床技能实践', position: 'left'},
8283
{ to: 'blog', label: '更新', position: 'left' },
8384
{
@@ -103,8 +104,8 @@ const config: Config = {
103104
title: '社区',
104105
items: [
105106
{
106-
label: 'KOOK 频道',
107-
href: 'https://kook.top/y1mQnk',
107+
label: '学术站',
108+
href: 'https://emu.ac.cn',
108109
},
109110
{
110111
label: '知乎',
@@ -117,7 +118,7 @@ const config: Config = {
117118
items: [
118119
{
119120
label: '梅冥子的博客',
120-
to: 'https://emu.ac.cn',
121+
to: 'https://sekai.us.kg',
121122
},
122123
{
123124
label: '作者 GitHub',

sidebars.ts

+10
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ const sidebars: SidebarsConfig = {
8080
],
8181
},
8282

83+
// 神经与精神病学的目录配置
84+
docsNoteNeuro: {
85+
'神经与精神病学': [
86+
{
87+
type: 'autogenerated',
88+
dirName: 'note-np',
89+
},
90+
],
91+
},
92+
8393
// 临床技能实践的目录配置
8494
docsNoteCPS: {
8595
'临床技能实践': [

src/pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function Home(): JSX.Element {
3636
return (
3737
<Layout
3838
title={`Hello from ${siteConfig.title}`}
39-
description="Description will go into a meta tag in <head />">
39+
description="A Next-Generation Based Medical Book">
4040
<HomepageHeader />
4141
<main>
4242
<HomepageFeatures />

0 commit comments

Comments
 (0)