diff --git a/.gitignore b/.gitignore index 821ddc0..b905dde 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store node_modules -.vitepress/cache \ No newline at end of file +.vitepress/cache +.vitepress/dist diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 00e943d..15ffb3d 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -10,19 +10,21 @@ export default defineConfig({ // https://vitepress.dev/reference/default-theme-config nav: [ { text: 'Home', link: '/' }, - { text: 'Meeting Minutes', link: '/meetings' } + { text: '会议记录', link: '/meetings' } ], - + search: { + provider: "local" + }, sidebar: [ { - text: 'Meeting Minutes', + text: '会议记录', link: '/meetings' }, ...getMeetingMinutesSidebar() ], socialLinks: [ - { icon: 'github', link: 'https://github.com/vuejs/vitepress' } + { icon: 'github', link: 'https://github.com/nbtca/documents' } ] } }) diff --git a/assets/CA-logo.png b/assets/CA-logo.png new file mode 100644 index 0000000..57c6c25 Binary files /dev/null and b/assets/CA-logo.png differ diff --git a/index.md b/index.md index ff48610..b5fe254 100644 --- a/index.md +++ b/index.md @@ -4,11 +4,14 @@ layout: home hero: name: "Documents" - text: "Documents for nbtca" - tagline: My great project tagline + text: "" + tagline: 计算机协会文档 + image: + src: /assets/CA-logo.png + alt: VitePress actions: - theme: brand - text: Meeting minutes + text: 会议记录 link: /meetings/index # - theme: alt # text: API Examples @@ -22,4 +25,11 @@ features: - title: Feature C details: Lorem ipsum dolor sit amet, consectetur adipiscing elit --- - + diff --git a/meetings/2025.01.25开发部例会.md b/meetings/2025.01.25开发部例会.md index 98cbf80..ffcabdd 100644 --- a/meetings/2025.01.25开发部例会.md +++ b/meetings/2025.01.25开发部例会.md @@ -1,18 +1,18 @@ +--- +title: Docs with VitePress +editLink: true +lastUpdated: true +--- + # 2025.01.25开发部例会 +:::info 会议信息 * 地点:线上腾讯会议 * 时间:Jan 24 2030 - Jan 25 0100 CST 2025 * 记录员:[m1ngsama](https://github.com/m1ngsama) +::: -___ - -## 讨论主题 - -- [开发部需推进事务](##开发部需推进事务) -- [闲谈关于之后社团的开发事务](##闲谈关于之后社团的开发事务) -- [关于年前计划筹备2024-2025年度总结会议的事务](##关于年前计划筹备2024-2025年度总结会议的事务) - ---- +[[toc]] ## 开发部需推进事务 @@ -22,8 +22,6 @@ ___ - 可能需要在主页写个新板块关于新年愿望,需要先期收集社员的愿望,等待前期收集完成。 ---- - ## 闲谈关于之后社团的开发事务 - 展开基于个人兴趣的对外分享会 @@ -32,14 +30,11 @@ ___ - 对于讲座的形式,可以的话尝试借鉴today at apple那种实用简单的风格。 ---- - ## 关于年前计划筹备2024-2025年度总结会议的事务 - 希望能够在年前(即2025.01.28前)组织一次关于上一年事务的总结会议 * 主要内容包括:过去一年工作的复盘与分析,收集全社意见,下一年待定事务的安排,新年愿望与闲聊; * 值得注意的是在这次会议召集所有人前,主要的会长和部长应当就议题做一些讨论,此次这将由[m1ngsama](https://github.com/m1ngsama)组织,由[Orangedog433](https://github.com/Orangedog433)推动。 -___ ## 附录 diff --git a/meetings/index.md b/meetings/index.md index b2d525b..e60335b 100644 --- a/meetings/index.md +++ b/meetings/index.md @@ -1 +1 @@ -index \ No newline at end of file +# 会议记录 \ No newline at end of file diff --git a/package.json b/package.json index 8991c7c..9e38777 100644 --- a/package.json +++ b/package.json @@ -13,12 +13,14 @@ "author": "", "license": "ISC", "devDependencies": { + "@types/pinyin": "^2.10.2", "vitepress": "^1.6.3", "vitest": "^3.0.4" }, "dependencies": { "@types/node": "^22.10.10", "dayjs": "^1.11.13", + "pinyin": "4.0.0-alpha.2", "vue": "^3.5.13" } } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fe862e9..b069f09 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,10 +14,16 @@ importers: dayjs: specifier: ^1.11.13 version: 1.11.13 + pinyin: + specifier: 4.0.0-alpha.2 + version: 4.0.0-alpha.2 vue: specifier: ^3.5.13 version: 3.5.13 devDependencies: + '@types/pinyin': + specifier: ^2.10.2 + version: 2.10.2 vitepress: specifier: ^1.6.3 version: 1.6.3(@algolia/client-search@5.20.0)(@types/node@22.10.10)(postcss@8.5.1)(search-insights@2.17.3) @@ -426,6 +432,9 @@ packages: '@types/node@22.10.10': resolution: {integrity: sha512-X47y/mPNzxviAGY5TcYPtYL8JsY3kAq2n8fMmKoRCxq/c4v4pyGNCzM2R6+M5/umG4ZfHuT+sgqDYqWc9rJ6ww==} + '@types/pinyin@2.10.2': + resolution: {integrity: sha512-jLzlRkaLRLg+lgYPjOuP3HX2cozUkhXls5GTXopsKuKJ9lDGlIAb88OoIztH6TbNUsoJnl/7e/kjaumA5IKKJg==} + '@types/unist@3.0.3': resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} @@ -594,6 +603,10 @@ packages: comma-separated-tokens@2.0.3: resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} + commander@1.1.1: + resolution: {integrity: sha512-71Rod2AhcH3JhkBikVpNd0pA+fWsmAaVoti6OR38T76chA7vE3pSerS0Jor4wDw+tOueD2zLVvFOw5H0Rcj7rA==} + engines: {node: '>= 0.6.x'} + copy-anything@3.0.5: resolution: {integrity: sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==} engines: {node: '>=12.13'} @@ -673,6 +686,9 @@ packages: resolution: {integrity: sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==} engines: {node: '>=12.13'} + keypress@0.1.0: + resolution: {integrity: sha512-x0yf9PL/nx9Nw9oLL8ZVErFAk85/lslwEP7Vz7s5SI1ODXZIgit3C5qyWjw4DxOuO/3Hb4866SQh28a1V1d+WA==} + loupe@3.1.2: resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} @@ -730,6 +746,22 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + pinyin@4.0.0-alpha.2: + resolution: {integrity: sha512-SED2wWr1X0QwH6rXIDgg20zS1mAk0AVMO8eM3KomUlOYzC8mNMWZnspZWhhI0M8MBIbF2xwa+5r30jTSjAqNsg==} + engines: {install-node: ^18.0.0} + hasBin: true + peerDependencies: + '@node-rs/jieba': ^1.6.0 + nodejieba: 2.5.2 + segmentit: ^2.0.3 + peerDependenciesMeta: + '@node-rs/jieba': + optional: true + nodejieba: + optional: true + segmentit: + optional: true + postcss@8.5.1: resolution: {integrity: sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==} engines: {node: ^10 || ^12 || >=14} @@ -1271,6 +1303,8 @@ snapshots: dependencies: undici-types: 6.20.0 + '@types/pinyin@2.10.2': {} + '@types/unist@3.0.3': {} '@types/web-bluetooth@0.0.20': {} @@ -1461,6 +1495,10 @@ snapshots: comma-separated-tokens@2.0.3: {} + commander@1.1.1: + dependencies: + keypress: 0.1.0 + copy-anything@3.0.5: dependencies: is-what: 4.1.16 @@ -1552,6 +1590,8 @@ snapshots: is-what@4.1.16: {} + keypress@0.1.0: {} + loupe@3.1.2: {} magic-string@0.30.17: @@ -1611,6 +1651,10 @@ snapshots: picocolors@1.1.1: {} + pinyin@4.0.0-alpha.2: + dependencies: + commander: 1.1.1 + postcss@8.5.1: dependencies: nanoid: 3.3.8