diff --git a/docs/.vuepress/client.ts b/docs/.vuepress/client.ts index f9edb73..85413ee 100644 --- a/docs/.vuepress/client.ts +++ b/docs/.vuepress/client.ts @@ -1,4 +1,4 @@ -import { defineClientConfig } from 'vuepress/client' +import { defineClientConfig } from '@vuepress/client' // import RepoCard from 'vuepress-theme-plume/features/RepoCard.vue' // import NpmBadge from 'vuepress-theme-plume/features/NpmBadge.vue' // import NpmBadgeGroup from 'vuepress-theme-plume/features/NpmBadgeGroup.vue' diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 63d7036..8515958 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -1,182 +1,220 @@ -import { viteBundler } from '@vuepress/bundler-vite' -import { defineUserConfig } from 'vuepress' -import { plumeTheme } from 'vuepress-theme-plume' +import {viteBundler} from '@vuepress/bundler-vite' +import {defineUserConfig} from 'vuepress' +import {plumeTheme} from 'vuepress-theme-plume' export default defineUserConfig({ - base: '/', - lang: 'zh-CN', - title: 'PGuide Docs', - description: '项导文档', + base: '/', + lang: 'zh-CN', + title: 'PGuide Docs', + description: '项导文档', - head: [ - // 配置站点图标 - ['link', { rel: 'icon', type: 'image/png', href: '/logo.svg' }], - ], + head: [ + // 配置站点图标 + ['link', {rel: 'icon', type: 'image/png', href: '/logo.svg'}], + ], - bundler: viteBundler(), - shouldPrefetch: false, // 站点较大,页面数量较多时,不建议启用 + bundler: viteBundler(), + shouldPrefetch: false, // 站点较大,页面数量较多时,不建议启用 - theme: plumeTheme({ - /* 添加您的部署域名, 有助于 SEO, 生成 sitemap */ - // hostname: 'https://your_site_url', + theme: plumeTheme({ + /* 添加您的部署域名, 有助于 SEO, 生成 sitemap */ + // hostname: 'https://your_site_url', - /* 文档仓库配置,用于 editLink */ - // docsRepo: '', - // docsDir: 'docs', - // docsBranch: '', + /* 文档仓库配置,用于 editLink */ + // docsRepo: '', + // docsDir: 'docs', + // docsBranch: '', - /* 页内信息 */ - // editLink: true, - // lastUpdated: true, - // contributors: true, - // changelog: false, + /* 页内信息 */ + // editLink: true, + // lastUpdated: true, + contributors: { + mode: 'block', + info: [ + { + username: 'rand777', + name: '王加强', + } + ], - /** - * 博客 - * @see https://theme-plume.vuejs.press/config/basic/#blog - */ - // blog: false, // 禁用博客 - // blog: { - // postList: true, // 是否启用文章列表页 - // tags: true, // 是否启用标签页 - // archives: true, // 是否启用归档页 - // categories: true, // 是否启用分类页 - // postCover: 'right', // 文章封面位置 - // pagination: 15, // 每页显示文章数量 - // }, + }, + // changelog: false, - /* 博客文章页面链接前缀 */ - article: '/article/', + /** + * 博客 + * @see https://theme-plume.vuejs.press/config/basic/#blog + */ + // blog: false, // 禁用博客 + // blog: { + // postList: true, // 是否启用文章列表页 + // tags: true, // 是否启用标签页 + // archives: true, // 是否启用归档页 + // categories: true, // 是否启用分类页 + // postCover: 'right', // 文章封面位置 + // pagination: 15, // 每页显示文章数量 + // }, - /** - * 编译缓存,加快编译速度 - * @see https://theme-plume.vuejs.press/config/basic/#cache - */ - cache: 'filesystem', + /* 博客文章页面链接前缀 */ + article: '/article/', - /** - * 为 markdown 文件自动添加 frontmatter 配置 - * @see https://theme-plume.vuejs.press/config/basic/#autofrontmatter - */ - // autoFrontmatter: { - // permalink: true, // 是否生成永久链接 - // createTime: true, // 是否生成创建时间 - // title: true, // 是否生成标题 - // }, + /** + * 编译缓存,加快编译速度 + * @see https://theme-plume.vuejs.press/config/basic/#cache + */ + cache: 'filesystem', - plugins: { - /** - * Shiki 代码高亮 - * @see https://theme-plume.vuejs.press/config/plugins/code-highlight/ - */ - // shiki: { - // // 强烈建议预设代码块高亮语言,插件默认加载所有语言会产生不必要的时间开销 - // languages: ['shell', 'bash', 'typescript', 'javascript'], - // twoslash: true, // 启用 twoslash - // whitespace: true, // 启用 空格/Tab 高亮 - // lineNumbers: true, // 启用行号 - // }, + notes: { + // 声明所有笔记的目录,(默认配置,通常您不需要声明它) + dir: '/notes/', + link: '/', // 声明所有笔记默认的链接前缀, 默认为 '/' (默认配置,通常您不需要声明它) + notes: [ + // 每个笔记都是 `notes` 数组中的一个对象 + { + // 声明笔记的目录,相对于 `notes.dir`,这里表示 `notes/typescript` 目录 + dir: 'public-service', + // 声明笔记的链接前缀,与 `notes.link` 拼接,这里表示 `/typescript/` + // 笔记内的所有文章会以 `/typescript/` 作为访问链接前缀。 + link: '/public-service/', + // 配置 笔记侧边导航栏,用于导航向笔记内的所有文档 + // 声明为 `auto` 的,将根据目录结构自动生成侧边栏导航 + sidebar: 'auto' + }, + { + dir: 'rust', + link: '/rust/', + sidebar: [ + { text: '简介', items: ['foo'] } + ] + } + ] + }, - /* 本地搜索, 默认启用 */ - search: false, + /** + * 为 markdown 文件自动添加 frontmatter 配置 + * @see https://theme-plume.vuejs.press/config/basic/#autofrontmatter + */ + // autoFrontmatter: { + // permalink: true, // 是否生成永久链接 + // createTime: true, // 是否生成创建时间 + // title: true, // 是否生成标题 + // }, - /** - * Algolia DocSearch - * 启用此搜索需要将 本地搜索 search 设置为 false - * @see https://theme-plume.vuejs.press/config/plugins/search/#algolia-docsearch - */ - // docsearch: { - // appId: '', - // apiKey: '', - // indexName: '', - // }, + plugins: { + /** + * Shiki 代码高亮 + * @see https://theme-plume.vuejs.press/config/plugins/code-highlight/ + */ + // shiki: { + // // 强烈建议预设代码块高亮语言,插件默认加载所有语言会产生不必要的时间开销 + // languages: ['shell', 'bash', 'typescript', 'javascript'], + // twoslash: true, // 启用 twoslash + // whitespace: true, // 启用 空格/Tab 高亮 + // lineNumbers: true, // 启用行号 + // }, - /* 文章字数统计、阅读时间,设置为 false 则禁用 */ - // readingTime: true, + // 开发环境和生产环境都启用git贡献功能 + git: process.env.NODE_ENV === 'production', - /** - * markdown enhance - * @see https://theme-plume.vuejs.press/config/plugins/markdown-enhance/ - */ - // markdownEnhance: { - // chartjs: true, - // echarts: true, - // mermaid: true, - // flowchart: true, - // }, + /* 本地搜索, 默认启用 */ + search: false, - /** - * markdown power - * @see https://theme-plume.vuejs.press/config/plugin/markdown-power/ - */ - // markdownPower: { - // pdf: true, // 启用 PDF 嵌入 @[pdf](/xxx.pdf) - // caniuse: true, // 启用 caniuse 语法 @[caniuse](feature_name) - // plot: true, // 启用隐秘文本语法 !!xxxx!! - // bilibili: true, // 启用嵌入 bilibili视频 语法 @[bilibili](bid) - // youtube: true, // 启用嵌入 youtube视频 语法 @[youtube](video_id) - // artPlayer: true, // 启用嵌入 artPlayer 本地视频 语法 @[artPlayer](url) - // audioReader: true, // 启用嵌入音频朗读功能 语法 @[audioReader](url) - // icons: true, // 启用内置图标语法 :[icon-name]: - // codepen: true, // 启用嵌入 codepen 语法 @[codepen](user/slash) - // replit: true, // 启用嵌入 replit 语法 @[replit](user/repl-name) - // codeSandbox: true, // 启用嵌入 codeSandbox 语法 @[codeSandbox](id) - // jsfiddle: true, // 启用嵌入 jsfiddle 语法 @[jsfiddle](user/id) - // npmTo: true, // 启用 npm-to 容器 ::: npm-to - // demo: true, // 启用 demo 容器 ::: demo - // repl: { // 启用 代码演示容器 - // go: true, // ::: go-repl - // rust: true, // ::: rust-repl - // kotlin: true, // ::: kotlin-repl - // }, - // imageSize: 'local', // 启用 自动填充 图片宽高属性,避免页面抖动 - // }, + /** + * Algolia DocSearch + * 启用此搜索需要将 本地搜索 search 设置为 false + * @see https://theme-plume.vuejs.press/config/plugins/search/#algolia-docsearch + */ + // docsearch: { + // appId: '', + // apiKey: '', + // indexName: '', + // }, - /** - * 在 Markdown 文件中导入其他 markdown 文件内容。 - * @see https://theme-plume.vuejs.press/guide/markdown/include/ - */ - // markdownInclude: true, + /* 文章字数统计、阅读时间,设置为 false 则禁用 */ + // readingTime: true, - /** - * Markdown 数学公式 - * @see https://theme-plume.vuejs.press/config/plugins/markdown-math/ - */ - // markdownMath: { - // type: 'katex', - // }, + /** + * markdown enhance + * @see https://theme-plume.vuejs.press/config/plugins/markdown-enhance/ + */ + // markdownEnhance: { + // chartjs: true, + // echarts: true, + // mermaid: true, + // flowchart: true, + // }, - /** - * 水印 - * @see https://theme-plume.vuejs.press/guide/features/watermark/ - */ - // watermark: true, + /** + * markdown power + * @see https://theme-plume.vuejs.press/config/plugin/markdown-power/ + */ + // markdownPower: { + // pdf: true, // 启用 PDF 嵌入 @[pdf](/xxx.pdf) + // caniuse: true, // 启用 caniuse 语法 @[caniuse](feature_name) + // plot: true, // 启用隐秘文本语法 !!xxxx!! + // bilibili: true, // 启用嵌入 bilibili视频 语法 @[bilibili](bid) + // youtube: true, // 启用嵌入 youtube视频 语法 @[youtube](video_id) + // artPlayer: true, // 启用嵌入 artPlayer 本地视频 语法 @[artPlayer](url) + // audioReader: true, // 启用嵌入音频朗读功能 语法 @[audioReader](url) + // icons: true, // 启用内置图标语法 :[icon-name]: + // codepen: true, // 启用嵌入 codepen 语法 @[codepen](user/slash) + // replit: true, // 启用嵌入 replit 语法 @[replit](user/repl-name) + // codeSandbox: true, // 启用嵌入 codeSandbox 语法 @[codeSandbox](id) + // jsfiddle: true, // 启用嵌入 jsfiddle 语法 @[jsfiddle](user/id) + // npmTo: true, // 启用 npm-to 容器 ::: npm-to + // demo: true, // 启用 demo 容器 ::: demo + // repl: { // 启用 代码演示容器 + // go: true, // ::: go-repl + // rust: true, // ::: rust-repl + // kotlin: true, // ::: kotlin-repl + // }, + // imageSize: 'local', // 启用 自动填充 图片宽高属性,避免页面抖动 + // }, - /** - * 评论 comments - * @see https://theme-plume.vuejs.press/guide/features/comments/ - */ - // comment: { - // provider: '', // "Artalk" | "Giscus" | "Twikoo" | "Waline" - // comment: true, - // repo: '', - // repoId: '', - // category: '', - // categoryId: '', - // mapping: 'pathname', - // reactionsEnabled: true, - // inputPosition: 'top', - // }, - }, + /** + * 在 Markdown 文件中导入其他 markdown 文件内容。 + * @see https://theme-plume.vuejs.press/guide/markdown/include/ + */ + // markdownInclude: true, - /** - * 加密功能 - * @see https://theme-plume.vuejs.press/guide/features/encryption/ - */ - encrypt: { - rules: { - '/article': 'pguide1024', - } - }, - }), + /** + * Markdown 数学公式 + * @see https://theme-plume.vuejs.press/config/plugins/markdown-math/ + */ + // markdownMath: { + // type: 'katex', + // }, + + /** + * 水印 + * @see https://theme-plume.vuejs.press/guide/features/watermark/ + */ + // watermark: true, + + /** + * 评论 comments + * @see https://theme-plume.vuejs.press/guide/features/comments/ + */ + // comment: { + // provider: '', // "Artalk" | "Giscus" | "Twikoo" | "Waline" + // comment: true, + // repo: '', + // repoId: '', + // category: '', + // categoryId: '', + // mapping: 'pathname', + // reactionsEnabled: true, + // inputPosition: 'top', + // }, + }, + + /** + * 加密功能 + * @see https://theme-plume.vuejs.press/guide/features/encryption/ + */ + encrypt: { + rules: { + '/article': 'pguide1024', + } + }, + }), }) diff --git a/docs/.vuepress/navbar.ts b/docs/.vuepress/navbar.ts index b3bab88..794ed0f 100644 --- a/docs/.vuepress/navbar.ts +++ b/docs/.vuepress/navbar.ts @@ -4,50 +4,74 @@ export const navbar = defineNavbarConfig([ {text: '首页', link: '/'}, // {text: '博客', link: '/blog/'}, { - icon: 'material-symbols:book', + icon: '/note.svg', text: '学习笔记', items: [ - {icon: 'mage:robot-happy', text: '机器学习', link: '/学习笔记/机器学习/README.md'}, + {icon: '/AI.svg', text: '机器学习', link: '/学习笔记/机器学习/1.README.md'}, {icon: 'logos:google-developers', text: '全栈开发', link: '/学习笔记/全栈开发/README.md'}, {icon: 'mdi:graphics-processing-unit', text: '计算机图形学', link: '/学习笔记/计算机图形学/README.md'}, ] }, { - icon: 'eos-icons:project', + icon: '/project.svg', text: '项目文档', items: [ {icon: '/match.svg', text: '全国大学生竞赛组队系统', link: ''}, {icon: '/mirror.svg', text: '重庆医科大学开源软件镜像站', link: ''}, {icon: '/overleaf.svg', text: 'Overleaf在线协作企业版', link: ''}, + {icon: '/zhiyu.png', text: '植愈:AI情绪小帮手', link: ''}, + {icon: '/robot.png', text: '智慧中草药生态养护平台', link: ''}, {icon: '/minecraft.svg', text: 'CYMC群组服', link: ''}, + {icon: '/command_block.gif', text: 'CQMUA服务器中心', link: ''}, + ] }, { - icon: 'material-symbols:code', + icon: '/code.svg', text: 'CS-DIY', items: [ {text: '前言', link: '/notes/cs-diy/1.前言.md'}, + {icon:'/dev-standard.svg', text: '开发规范' , link: '/notes/cs-diy/2.开发规范.md'}, + {icon: '/path.svg', text: '学习路线', link: '/notes/cs-diy/3.学习路线.md'} ] }, { - icon: 'material-symbols:public', + icon: '/public-service.svg', text: '公共服务', items: [ { - icon: 'mage:robot-happy', + icon: '/openai.svg', text: '生成式人工智能', - link: '/notes/public-service/1.GPT API公共调用及部署应用集合.md' + link: '/notes/公共服务/1.GPT-API.md' }, + {icon: '/data-center.svg', text: '数据中心', link: ''}, {text: '', link: ''} ] }, { - icon: 'basil:university-solid', + icon: '/wiki.svg', text: '大学百科', items: [ - {text: '申请学生邮箱', link: '/notes/university-encyclopedia/1.申请学生邮箱.md'}, + {icon: '/email.svg', text: '申请学生邮箱', link: '/notes/大学百科/大学生活类/申请学生邮箱.md'}, + ] + }, + { + icon: '/manage.svg', + text: '后台管理', + items: [ + {icon: '/OAuth2.svg', text: 'OAuth登录(测试版)', link: 'https://hrtcsm.logto.app/demo-app'}, + {icon: 'icon-park:data-lock', text: '数据中心', link: ''}, + {icon: '/control.svg', text: '项导运维控制中台', link: ''}, + {icon: '/vpn.svg', text: 'VPN服务', link: ''}, + {icon: '/cloud.svg', text: '云计算资源调度中心', link: ''}, + ], + }, + { + icon: '/link.svg', + text: '友情链接', + items: [ + {icon: '/friend.svg', text: '个人', link: '/friends/persons/'}, + {icon: '/organ.svg', text: '组织', link: '/friends/organizations/'}, ] }, - {icon: 'material-symbols:login', text: 'OAuth登录(未上线)', link: 'https://hrtcsm.logto.app/demo-app'}, - ]) diff --git a/docs/.vuepress/plume.config.ts b/docs/.vuepress/plume.config.ts index b1b10d5..d4a6709 100644 --- a/docs/.vuepress/plume.config.ts +++ b/docs/.vuepress/plume.config.ts @@ -1,70 +1,108 @@ -import { defineThemeConfig } from 'vuepress-theme-plume' -import { navbar } from './navbar' -import { notes } from './notes' +import {defineThemeConfig} from 'vuepress-theme-plume' +import {navbar} from './navbar' +import {notes} from './notes' + +// 首页异步检查各服务在线状态 +async function checkStatus() { + try { + const response = await fetch('https://status.cqmu.online/api/badge/35/status'); + if (response.ok) { + const svgText = await response.text(); + if (svgText.includes('Status: Up')) { + return '所有服务均在线'; + } + } + return '部分服务离线'; + } catch (error) { + console.error('Error fetching status:', error); + return '服务离线'; + } +} + +// 返回信息 + +async function getFooterMessage() { + const statusMessage = await checkStatus(); + return `${statusMessage} Status Badge`; +} + + /** * @see https://theme-plume.vuejs.press/config/basic/ */ export default defineThemeConfig({ - logo: '/logo.svg', + logo: '/logo.svg', - appearance: true, // 配置 深色模式 + appearance: true, // 配置 深色模式 - social: [ - { icon: 'github', link: 'https://github.com/PGuideStudio' }, - { icon: 'gitlab', link: 'https://zds.cqmu.edu.cn/pguide-studio' }, - ], - navbarSocialInclude: ['github', 'gitlab'], // 允许显示在导航栏的 social 社交链接 - aside: true, // 页内侧边栏, 默认显示在右侧 - outline: [2, 3], // 页内大纲, 默认显示 h2, h3 + social: [ + {icon: 'github', link: 'https://github.com/PGuideStudio'}, + {icon: 'gitlab', link: 'https://zds.cqmu.edu.cn/pguide-studio'}, + // { icon: 'qq', link: 'https://qm.qq.com/q/UIXh30Arqc'} + ], + navbarSocialInclude: ['github', 'gitlab', 'qq'], // 允许显示在导航栏的 social 社交链接 + aside: true, // 页内侧边栏, 默认显示在右侧 + outline: [2, 3], // 页内大纲, 默认显示 h2, h3 - /** - * 文章版权信息 - * @see https://theme-plume.vuejs.press/guide/features/copyright/ - */ - copyright: true, + /** + * 文章版权信息 + * @see https://theme-plume.vuejs.press/guide/features/copyright/ + */ + copyright: true, - // prevPage: true, // 是否启用上一页链接 - // nextPage: true, // 是否启用下一页链接 - // createTime: true, // 是否显示文章创建时间 + // prevPage: true, // 是否启用上一页链接 + // nextPage: true, // 是否启用下一页链接 + // createTime: true, // 是否显示文章创建时间 - /* 站点页脚 */ - footer: { - message: 'PGuide Studio © 2023-2025', - copyright: '', - }, + /* 站点页脚,message显示在线情况 */ + footer: { + message: await getFooterMessage(), + copyright: 'PGuide Studio © 2023-2025', + }, + notFound : { + code : '⚡404⚡', + title : '🌌 迷路的[0️⃣1️⃣]在数字森林里🌀徘徊', + quote : [ + '"💻 我点故我在,但🔗已不在" —— 赛博笛卡尔', + '"🕳️ 宇宙最伟大的谜团不是黑洞,而是404的奇点" —— 星际访客日志', + '"👁️ 当你在凝视404时,404也在凝视你的🔄" —— 尼采的键盘', + '"🔄 所有的网页终将消逝,正如我们终将成为别人的缓存" —— 二进制佛陀' + ][Math.floor(Math.random()*4)], + linkLabel : '🚀让量子隧穿带你重返现实🌐', + linkText : '🌠回到已知宇宙 →' + }, + /** + * @see https://theme-plume.vuejs.press/config/basic/#profile + */ + profile: { + avatar: '/logo.svg', + name: 'PGuide Docs', + // description: '项导文档', + circle: true, + // location: '', + // organization: '', + }, - /** - * @see https://theme-plume.vuejs.press/config/basic/#profile - */ - profile: { - avatar: '/logo.svg', - name: 'PGuide Docs', - // description: '项导文档', - circle: true, - // location: '', - // organization: '', - }, + navbar, + notes, - navbar, - notes, + /** + * 公告板 + * @see https://theme-plume.vuejs.press/guide/features/bulletin/ + */ + // bulletin: { + // layout: 'top-right', + // contentType: 'markdown', + // title: '公告板标题', + // content: '公告板内容', + // }, - /** - * 公告板 - * @see https://theme-plume.vuejs.press/guide/features/bulletin/ - */ - // bulletin: { - // layout: 'top-right', - // contentType: 'markdown', - // title: '公告板标题', - // content: '公告板内容', - // }, - - /* 过渡动画 @see https://theme-plume.vuejs.press/config/basic/#transition */ - // transition: { - // page: true, // 启用 页面间跳转过渡动画 - // postList: true, // 启用 博客文章列表过渡动画 - // appearance: 'fade', // 启用 深色模式切换过渡动画, 或配置过渡动画类型 - // }, + /* 过渡动画 @see https://theme-plume.vuejs.press/config/basic/#transition */ + // transition: { + // page: true, // 启用 页面间跳转过渡动画 + // postList: true, // 启用 博客文章列表过渡动画 + // appearance: 'fade', // 启用 深色模式切换过渡动画, 或配置过渡动画类型 + // }, }) diff --git a/docs/.vuepress/public/AI.svg b/docs/.vuepress/public/AI.svg new file mode 100644 index 0000000..3e38511 --- /dev/null +++ b/docs/.vuepress/public/AI.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/OAuth2.svg b/docs/.vuepress/public/OAuth2.svg new file mode 100644 index 0000000..aecd704 --- /dev/null +++ b/docs/.vuepress/public/OAuth2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/avatar/man.svg b/docs/.vuepress/public/avatar/man.svg new file mode 100644 index 0000000..c2b6949 --- /dev/null +++ b/docs/.vuepress/public/avatar/man.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/cloud.svg b/docs/.vuepress/public/cloud.svg new file mode 100644 index 0000000..d1ea3a9 --- /dev/null +++ b/docs/.vuepress/public/cloud.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/code.svg b/docs/.vuepress/public/code.svg new file mode 100644 index 0000000..3525c23 --- /dev/null +++ b/docs/.vuepress/public/code.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/command_block.gif b/docs/.vuepress/public/command_block.gif new file mode 100644 index 0000000..0f0f112 Binary files /dev/null and b/docs/.vuepress/public/command_block.gif differ diff --git a/docs/.vuepress/public/control.svg b/docs/.vuepress/public/control.svg new file mode 100644 index 0000000..370135c --- /dev/null +++ b/docs/.vuepress/public/control.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/data-center.svg b/docs/.vuepress/public/data-center.svg new file mode 100644 index 0000000..5032be5 --- /dev/null +++ b/docs/.vuepress/public/data-center.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/dev-standard.svg b/docs/.vuepress/public/dev-standard.svg new file mode 100644 index 0000000..02eafa8 --- /dev/null +++ b/docs/.vuepress/public/dev-standard.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/email.svg b/docs/.vuepress/public/email.svg new file mode 100644 index 0000000..1619ec4 --- /dev/null +++ b/docs/.vuepress/public/email.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/friend.svg b/docs/.vuepress/public/friend.svg new file mode 100644 index 0000000..3d5ec30 --- /dev/null +++ b/docs/.vuepress/public/friend.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/link.svg b/docs/.vuepress/public/link.svg new file mode 100644 index 0000000..75d3424 --- /dev/null +++ b/docs/.vuepress/public/link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/manage.svg b/docs/.vuepress/public/manage.svg new file mode 100644 index 0000000..84677d4 --- /dev/null +++ b/docs/.vuepress/public/manage.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/note.svg b/docs/.vuepress/public/note.svg new file mode 100644 index 0000000..0537b0a --- /dev/null +++ b/docs/.vuepress/public/note.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/openai.svg b/docs/.vuepress/public/openai.svg new file mode 100644 index 0000000..673d4a8 --- /dev/null +++ b/docs/.vuepress/public/openai.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/organ.svg b/docs/.vuepress/public/organ.svg new file mode 100644 index 0000000..8cc0e6a --- /dev/null +++ b/docs/.vuepress/public/organ.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/path.svg b/docs/.vuepress/public/path.svg new file mode 100644 index 0000000..d818747 --- /dev/null +++ b/docs/.vuepress/public/path.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/project.svg b/docs/.vuepress/public/project.svg new file mode 100644 index 0000000..88b16bd --- /dev/null +++ b/docs/.vuepress/public/project.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/public-service.svg b/docs/.vuepress/public/public-service.svg new file mode 100644 index 0000000..6085446 --- /dev/null +++ b/docs/.vuepress/public/public-service.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/robot.png b/docs/.vuepress/public/robot.png new file mode 100644 index 0000000..f6ec574 Binary files /dev/null and b/docs/.vuepress/public/robot.png differ diff --git a/docs/.vuepress/public/vpn.svg b/docs/.vuepress/public/vpn.svg new file mode 100644 index 0000000..bca48bd --- /dev/null +++ b/docs/.vuepress/public/vpn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/wiki.svg b/docs/.vuepress/public/wiki.svg new file mode 100644 index 0000000..439fed4 --- /dev/null +++ b/docs/.vuepress/public/wiki.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/.vuepress/public/zhiyu.png b/docs/.vuepress/public/zhiyu.png new file mode 100644 index 0000000..cbad27d Binary files /dev/null and b/docs/.vuepress/public/zhiyu.png differ diff --git a/docs/README.md b/docs/README.md index 95a31df..3de9010 100644 --- a/docs/README.md +++ b/docs/README.md @@ -11,8 +11,8 @@ config: text: Start from here, build projects as our dreams. actions: - theme: brand - text: ✅服务在线状态 - link: https://status.cqmu.online/status/pguide + text: 开始阅读 + link: / - theme: alt text: 😊语雀文档↗ diff --git a/docs/notes/campus-wiki.ts b/docs/notes/campus-wiki.ts new file mode 100644 index 0000000..a043e47 --- /dev/null +++ b/docs/notes/campus-wiki.ts @@ -0,0 +1,9 @@ +import {defineNoteConfig} from "vuepress-theme-plume"; + +export default defineNoteConfig({ + dir: '大学百科', + link: '/campus-wiki/', + sidebar: [ + '/campis-life/申请学生邮箱.md', + ] +}) \ No newline at end of file diff --git a/docs/notes/cs-diy/1.前言.md b/docs/notes/cs-diy/1.前言.md deleted file mode 100644 index 2bb6260..0000000 --- a/docs/notes/cs-diy/1.前言.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: 前言 -createTime: 2025/02/14 12:40:42 -permalink: /article/write-forward/ ---- - -> 这是你的故事,也是我们的故事。这个过程没有学分,没有陪伴,你只知道自己在变强。 - -一本关于计算机各方向的自学指南,无论天南或海北,希望可以帮到你,灵感和部分素材来自CS自学指南。 -同时,这也是献给项导工作室、Med Explorers、CYMC、美术社团、钱悳班学弟学妹们的一份礼物。这本指南能对你们的本科生涯有哪怕一点点帮助,对于编者们而言也是莫大的欣慰与鼓舞。 - - - -## 常见问题 - -### 我该选择哪一部分进行学习? - -兴趣是最好的老师,如果你有自己十分乐意花时间钻研的项目或者技术,就朝那个方向一直学习。都不感兴趣先试试前端开发吧,实在不行可能说明计算机不太符合你的胃口,看看其他好玩的也不错。 -我看不懂英文感觉很难 -用翻译 - -### 我想从事这些行业需要准备什么吗? - -毕业工作去找实习,熟悉主流开发技术;读研究生去读、发表论文、练英语,选择性钻研底层技术。 - -### 自学需要逃课去吗? - -不要逃课,尊重老师是起码的。可以在课上完成任务后自学。 - -### 我没有基础/我怕学不会怎么办? - -学呗,不学肯定学不会。实在有困难问问其他人怎么学的,学不下去就换条路或者睡个大觉。 - -### 我该怎样找到自己的兴趣点? - -多实践、多思考 - -### 实习真的很重要吗? - -是的,尤其是当下的就业环境。实习还有钱拿,好点的公司有概率转正,姑且大胆一试吧。 - -### 我感觉请教大佬们很不好意思? - -当一个礼貌懂事的小朋友来提问的时候,没有人会拒绝的~~ diff --git a/docs/notes/cs-diy/2.计算机常识.md b/docs/notes/cs-diy/2.计算机常识.md deleted file mode 100644 index ac9d911..0000000 --- a/docs/notes/cs-diy/2.计算机常识.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: 计算机常识 -createTime: 2025/02/14 14:30:42 -permalink: /article/3xmmbo6a/ ---- - diff --git a/docs/notes/demo/README.md b/docs/notes/demo/README.md deleted file mode 100644 index 8be9ffc..0000000 --- a/docs/notes/demo/README.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Demo -createTime: 2025/02/14 08:56:39 -permalink: /demo/ ---- - -- [bar](./bar.md) -- [foo](./foo.md) diff --git a/docs/notes/demo/bar.md b/docs/notes/demo/bar.md deleted file mode 100644 index 22e4544..0000000 --- a/docs/notes/demo/bar.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: bar -createTime: 2025/02/14 08:56:39 -permalink: /demo/dli40z8a/ ---- - -[foo](./foo.md) diff --git a/docs/notes/demo/foo.md b/docs/notes/demo/foo.md deleted file mode 100644 index fc5baf9..0000000 --- a/docs/notes/demo/foo.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: foo -createTime: 2025/02/14 08:56:39 -permalink: /demo/7rgbnyqi/ ---- - -[bar](./bar.md) diff --git a/docs/notes/friends.md b/docs/notes/friends.md new file mode 100644 index 0000000..04654c8 --- /dev/null +++ b/docs/notes/friends.md @@ -0,0 +1,50 @@ +--- +friends: true +title: Thanks to these guys for contributing PGuide Docs~ +description: 我们所铭记的人们 +permalink: /friends/persons/ +pageLayout: friends + +list: + - name: 李徵 + link: https://www.li-zheng.icu/ + avatar: /avatar/man.svg + desc: 我与我周旋久,宁做我。 + location: 中国,河北 + organization: 项导工作室 + socials: + - icon: qq + link: + - name: Elysia_Realme + link: https://chenhy.pguide.studio/ + avatar: https://chenhy.pguide.studio/githubFindNew/pictures/CircleElysia.jpg + location: 中国,重庆涪陵 + organization: 项导工作室、CQMUA + desc: 兄弟你好香,今夜星光闪闪,爱你的♥满满。 + socials: + - icon: qq + link: + - name: 廖凡勋 + link: https://github.com/DKwms + avatar: https://avatars.githubusercontent.com/u/98271041?v=4 + desc: 楼上的好恐怖呀 + location: 中国,重庆沙坪坝 + organization: 项导工作室 + socials: + - icon: github + link: https://github.com/DKwms + backgroundColor: + color: + nameColor: #73BD79 + +# - name: +# link: +# avatar: +# desc: +# location: +# organization: +# socials: +# backgroundColor: +# color: +# nameColor: +--- diff --git a/docs/notes/index.ts b/docs/notes/index.ts new file mode 100644 index 0000000..15855b5 --- /dev/null +++ b/docs/notes/index.ts @@ -0,0 +1,10 @@ +import {defineNoteConfig} from "vuepress-theme-plume"; + +export default defineNoteConfig({ + dir: '/notes/', + link: '/', + + // notes:[ + // + // ]. +}) \ No newline at end of file diff --git a/docs/notes/public-service/1.GPT API公共调用及部署应用集合.md b/docs/notes/public-service/1.GPT API公共调用及部署应用集合.md deleted file mode 100644 index 80501e5..0000000 --- a/docs/notes/public-service/1.GPT API公共调用及部署应用集合.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: GPT API公共调用及部署应用集合 -createTime: 2025/02/14 09:12:27 -permalink: /article/GPT-API-deploy-assets/ ---- - -此页面汇集了目前市面上 98%以上的大模型,且涵盖了 github 上主流的开源框架和技术,欢迎挨个体验。UpStream Sync 功能启用可以自动同步 fork 的项目,尝试到市面上最新的大模型功能。One API 配合统一身份认证系统方便配置,欢迎体验。 - diff --git a/docs/notes/university-encyclopedia/1.申请学生邮箱.md b/docs/notes/university-encyclopedia/1.申请学生邮箱.md deleted file mode 100644 index 6334fb6..0000000 --- a/docs/notes/university-encyclopedia/1.申请学生邮箱.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: 申请学生邮箱 -createTime: 2025/02/14 13:24:17 -permalink: /article/apply-student-email/ ---- - -进入信息门户:https://portal.paas.cqmu.edu.cn/main.html -![2025-02-14.png](../../.vuepress/public/2025-02-14.png) -点击电子邮箱申请即可 -![2025-02-14-apply-student-email.png](../../.vuepress/public/2025-02-14-apply-student-email.png) \ No newline at end of file diff --git a/docs/notes/公共服务/1.GPT-API.md b/docs/notes/公共服务/1.GPT-API.md new file mode 100644 index 0000000..22b4787 --- /dev/null +++ b/docs/notes/公共服务/1.GPT-API.md @@ -0,0 +1,6 @@ +--- +title: GPT-API +createTime: 2025/02/15 04:14:58 +permalink: /article/gpt-api/ +--- +* \ No newline at end of file diff --git a/docs/notes/大学百科/大学生活类/申请学生邮箱.md b/docs/notes/大学百科/大学生活类/申请学生邮箱.md new file mode 100644 index 0000000..9d6671c --- /dev/null +++ b/docs/notes/大学百科/大学生活类/申请学生邮箱.md @@ -0,0 +1,7 @@ +--- +title: 申请学生邮箱 +createTime: 2025/02/15 00:18:33 +permalink: /article/3bw3rlpi/ +--- + +123 \ No newline at end of file diff --git a/docs/open/学习笔记/机器学习/1.README.md b/docs/open/学习笔记/机器学习/1.README.md new file mode 100644 index 0000000..d7f0e9b --- /dev/null +++ b/docs/open/学习笔记/机器学习/1.README.md @@ -0,0 +1,7 @@ +--- +title: 1.README +createTime: 2025/02/15 03:58:34 +permalink: /open/ml/1.README.md +--- + +123 \ No newline at end of file diff --git a/docs/学习笔记/机器学习/1.支持向量机.md b/docs/open/学习笔记/机器学习/支持向量机.md similarity index 99% rename from docs/学习笔记/机器学习/1.支持向量机.md rename to docs/open/学习笔记/机器学习/支持向量机.md index 9756e01..6301b64 100644 --- a/docs/学习笔记/机器学习/1.支持向量机.md +++ b/docs/open/学习笔记/机器学习/支持向量机.md @@ -1,7 +1,7 @@ --- title: 支持向量机 createTime: 2025/02/14 13:37:55 -permalink: /article/svm/ +permalink: /open/ml/svm.md --- ## 支持向量机是什么 diff --git a/docs/open/导航/1.get-started.md b/docs/open/导航/1.get-started.md new file mode 100644 index 0000000..1710aad --- /dev/null +++ b/docs/open/导航/1.get-started.md @@ -0,0 +1,8 @@ +--- +title: 开始阅读 +createTime: 2025/02/15 03:50:34 +permalink: /open/get-started +--- + +千里之行,始于足下。项导文档(PGuide Docs)由几大组织联合编写,凝聚了无数前辈的心血,为了就是让后来者少走弯路,希望能够帮到你。 + diff --git a/docs/open/常用软件教程/1.IDE.md b/docs/open/常用软件教程/1.IDE.md new file mode 100644 index 0000000..9c66678 --- /dev/null +++ b/docs/open/常用软件教程/1.IDE.md @@ -0,0 +1,7 @@ +--- +title: 1.IDE +createTime: 2025/02/14 22:46:46 +permalink: /open/IDE/ +--- + +IDE是什么 \ No newline at end of file diff --git a/docs/学习笔记/机器学习/README.md b/docs/学习笔记/机器学习/README.md deleted file mode 100644 index e69de29..0000000