diff --git a/.vitepress/config.mts b/.vitepress/config.mts index f9fbbc8..2d2e655 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -1,38 +1,37 @@ -import { withMermaid } from "vitepress-plugin-mermaid" -import { sidebar as sidebarArchived } from "../archived/sidebar" +import { withMermaid } from 'vitepress-plugin-mermaid'; +import { sidebar as sidebarArchived } from '../archived/sidebar'; +import { sidebar as sidebarProcess } from '../process/sidebar'; // https://vitepress.dev/reference/site-config export default withMermaid({ - title: "计算机协会文档", - description: "Documents for nbtca", + title: '计算机协会文档', + description: 'Documents for nbtca', themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ - { text: '流程', link: '/process/borrow-classroom' }, + { text: '流程', link: '/process/' }, { text: '维修', link: '/repair/guide' }, - { text: '存档', link: '/archived' } + { text: '存档', link: '/archived' }, ], search: { - provider: "local" + provider: 'local', }, sidebar: { - '/process/': [ - { text: '借教室', link: '/process/borrow-classroom' } - ], + '/process/': sidebarProcess, '/repair/': [ { text: '维修操作指南', link: '/repair/guide' }, { text: 'Tools', link: '/repair/tools' }, ], - '/archived': sidebarArchived + '/archived': sidebarArchived, }, editLink: { pattern: 'https://github.com/nbtca/documents/edit/main/:path', - text: 'Edit this page on GitHub' + text: 'Edit this page on GitHub', }, socialLinks: [ - { icon: 'github', link: 'https://github.com/nbtca/documents' } - ] + { icon: 'github', link: 'https://github.com/nbtca/documents' }, + ], }, ignoreDeadLinks: true, lastUpdated: true, -}) +}); diff --git a/process/2025/apply-for-credits.md b/process/2025/apply-for-credits.md new file mode 100644 index 0000000..fa61858 --- /dev/null +++ b/process/2025/apply-for-credits.md @@ -0,0 +1,21 @@ +# 申请第二课堂学分 + +:::info 维护信息 +| 维护人 | 时间 | +| -------- | --------- | +| @ZaoAn0skiler | ??? - ??? | +::: + + +## 流程 + +```mermaid +graph TD + A[填写和修改二课堂学分申报表] --> B[确定人员、学分数额] + B --> C[交到校素拓部负责人] + C --> D{审核通过?} + D -- 否,修正 --> B + D -- 是 --> E[填写和修改学分申报名单] + E --> F[交到校素拓部负责人] + F --> G[社内留档一份] +``` diff --git a/process/borrow-classroom.md b/process/2025/borrow-classroom.md similarity index 99% rename from process/borrow-classroom.md rename to process/2025/borrow-classroom.md index fdaeb14..3cc8881 100644 --- a/process/borrow-classroom.md +++ b/process/2025/borrow-classroom.md @@ -20,4 +20,4 @@ graph TD F --> G[在工作日提交给教室管理员] G --> H[等待维修日] H --> I[提前1小时确认是否开门] -``` \ No newline at end of file +``` diff --git a/process/index.md b/process/index.md new file mode 100644 index 0000000..9bc9d3f --- /dev/null +++ b/process/index.md @@ -0,0 +1,5 @@ +# 申报流程说明 + +所有的流程文件仅供参考,因为随着时间的变化,校方以及社内事务流程是否变更已不可察,请以社内管理人员为准 + +此处为方便全社人员快速掌握申报流程而编写的文档,请注意更新 diff --git a/process/sidebar.ts b/process/sidebar.ts new file mode 100644 index 0000000..7361375 --- /dev/null +++ b/process/sidebar.ts @@ -0,0 +1,26 @@ +export const sidebar = [ + { + text: '说明', + link: '/process/index', + }, + { + text: '2025版本', + collapsed: false, + base: '/process/2025/', + items: [ + { + text: '申报流程', + items: [ + { + text: '借教室', + link: 'borrow-classroom', + }, + { + text: '申请第二课堂学分', + link: 'apply-for-credits', + }, + ] + } + ] + } +]