135 lines
4.1 KiB
TypeScript
135 lines
4.1 KiB
TypeScript
import { defineNoteConfig, defineNotesConfig } from 'vuepress-theme-plume'
|
|
|
|
/**
|
|
* 配置编程笔记
|
|
*/
|
|
const LeetCode = defineNoteConfig({
|
|
dir: 'programming',
|
|
link: '/programming/leetcode/',
|
|
sidebar: [
|
|
{ text: "LeetCode 指南", link: "/programming/leetcode/" },
|
|
{
|
|
text: "刷题题单", prefix: "/question_sheet", items: [
|
|
{ text: "LeetCode 入门题单~(≧∇≦)ノ", link: "/programming/leetcode/question_sheet/beginner/" }
|
|
]
|
|
}
|
|
]
|
|
})
|
|
const cPlusPlus = defineNoteConfig({
|
|
dir: 'programming',
|
|
link: '/programming/cplusplus/',
|
|
sidebar: [
|
|
{ text: "C++ 学习笔记", link: "/programming/cplusplus/" },
|
|
{
|
|
text: "基础配置与开发工具", prefix: "/basis", items: [
|
|
{ text: "C++ 环境配置", link: "/programming/cplusplus/basis/" }
|
|
]
|
|
}
|
|
]
|
|
})
|
|
const english = defineNoteConfig({
|
|
dir: 'subject',
|
|
link: '/subject/english/',
|
|
sidebar: [
|
|
{ text: "英语学习笔记", link: "/subject/english/" },
|
|
{
|
|
text: "学习环境与工具", prefix: "/basis", items: [
|
|
{ text: "英语环境配置", link: "/subject/english/basis/" }
|
|
]
|
|
},
|
|
{
|
|
text: "词汇与记忆", prefix: "/vocabulary", items: [
|
|
{ text: "词汇学习与记忆法", link: "/subject/english/vocabulary/" }
|
|
]
|
|
},
|
|
{
|
|
text: "语法与句法", prefix: "/grammar", items: [
|
|
{ text: "核心语法与句型", link: "/subject/english/grammar/" }
|
|
]
|
|
},
|
|
{
|
|
text: "听力与口语", prefix: "/listening-speaking", items: [
|
|
{ text: "听力口语训练", link: "/subject/english/listening-speaking/" }
|
|
]
|
|
},
|
|
{
|
|
text: "阅读与写作", prefix: "/reading-writing", items: [
|
|
{ text: "阅读写作提升", link: "/subject/english/reading-writing/" }
|
|
]
|
|
},
|
|
{
|
|
text: "考试与备考", prefix: "/exam", items: [
|
|
{ text: "英语四级 (CET-4) 备考指南", link: "/subject/english/exam/cet-4/" }
|
|
]
|
|
},
|
|
{
|
|
text: "资源与工具", prefix: "/resources", items: [
|
|
{ text: "学习资源与工具", link: "/subject/english/resources/" }
|
|
]
|
|
}
|
|
]
|
|
})
|
|
const solidity = defineNoteConfig({
|
|
dir: 'programming',
|
|
link: '/programming/solidity/',
|
|
sidebar: [
|
|
{ text: "Solidity 学习笔记", link: "/programming/solidity/" },
|
|
{
|
|
text: "基础语法", prefix: "/basic-syntax", items: [
|
|
{ text: "Solidity 基础语法与数据类型", link: "/programming/solidity/basic-syntax/" }
|
|
],
|
|
},
|
|
{
|
|
text: "项目实例", prefix: "/basic-syntax", items: [
|
|
{ text: "Solidity 代码实例", link: "/programming/solidity/analysis/case-analysis/" }
|
|
],
|
|
},
|
|
{
|
|
text: "杂项", prefix: "/other", items: [
|
|
{ text: "Hardhat 相关知识", link: "/programming/solidity/other/hardhat/" },
|
|
{ text: "一些没分类的小知识", link: "/programming/solidity/other/miscellaneous/" }
|
|
],
|
|
}
|
|
]
|
|
})
|
|
const blockchain = defineNoteConfig({
|
|
dir: 'ops',
|
|
link: '/ops/blockchain',
|
|
sidebar: [
|
|
{ text: "区块链运维指南", link: "/ops/blockchain/" },
|
|
{
|
|
text: "区块链理论基础", prefix: "/theory", items: [
|
|
{ text: "区块链的基本原理", link: "/ops/blockchain/theory/basic-principles/" },
|
|
{ text: "FISCO-BCOS 节点类型", link: "/ops/blockchain/theory/fisco-bcos-node-type/" }
|
|
]
|
|
},
|
|
{
|
|
text: "区块链运维", items: [
|
|
{ text: "区块链产品设计和基本部署", link: "/ops/blockchain/practice/basic-deployment/" },
|
|
{ text: "区块链网络部署与管理", link: "/ops/blockchain/practice/node-deployment/" },
|
|
{ text: "Console 控制台操作", link: "/ops/blockchain/practice/console-operator/" }
|
|
]
|
|
}
|
|
]
|
|
})
|
|
const linux = defineNoteConfig({
|
|
dir: 'ops',
|
|
link: '/ops/',
|
|
sidebar: [
|
|
{ text: "Linux 运维笔记", link: "/ops/linux/" },
|
|
{
|
|
text: "Linux 基础", prefix: "/linux", items: [
|
|
{ text: "Linux 基础命令详解", link: "/ops/linux/basic-commands/" }
|
|
]
|
|
}
|
|
]
|
|
})
|
|
/**
|
|
* 导出所有的 note
|
|
*/
|
|
export default defineNotesConfig({
|
|
dir: 'notes',
|
|
link: '/',
|
|
notes: [LeetCode, english, cPlusPlus, solidity, blockchain, linux],
|
|
})
|