From 70eb9e4ef815527f818ed196ae3bf6227ed8de6e Mon Sep 17 00:00:00 2001 From: Dessera Date: Sun, 27 Oct 2024 14:15:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=84=E8=AE=BA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/client.ts | 12 +++++------ docs/.vuepress/config.ts | 20 +++++++++---------- docs/.vuepress/plume.config.ts | 16 +++++++-------- ...42Nix-01-\345\214\205\344\270\216Flake.md" | 4 ++++ ...00\345\217\221\347\216\257\345\242\203.md" | 3 +++ package.json | 8 ++++---- 6 files changed, 34 insertions(+), 29 deletions(-) diff --git a/docs/.vuepress/client.ts b/docs/.vuepress/client.ts index 7cd6985..469cde9 100644 --- a/docs/.vuepress/client.ts +++ b/docs/.vuepress/client.ts @@ -1,12 +1,12 @@ -import { defineClientConfig } from 'vuepress/client' -import RepoCard from 'vuepress-theme-plume/features/RepoCard.vue' -// import CustomComponent from './theme/components/Custom.vue' +import { defineClientConfig } from "vuepress/client" +// import RepoCard from "vuepress-theme-plume/features/RepoCard.vue" +// import CustomComponent from "./theme/components/Custom.vue" -import './theme/styles/custom.css' +import "./theme/styles/custom.css" export default defineClientConfig({ enhance({ app }) { - app.component('RepoCard', RepoCard) - // app.component('CustomComponent', CustomComponent) + // app.component("RepoCard", RepoCard) + // app.component("CustomComponent", CustomComponent) }, }) diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index d907023..e15cd4b 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -6,7 +6,7 @@ export default defineUserConfig({ base: "/", lang: "zh-CN", title: "DE-LAB", - description: "Dessera的个人主页", + description: "Dessera的个人博客", bundler: viteBundler(), @@ -63,16 +63,14 @@ export default defineUserConfig({ * comments * @see https://theme-plume.vuejs.press/guide/features/comments/ */ - // comment: { - // provider: '', // "Artalk" | "Giscus" | "Twikoo" | "Waline" - // comment: true, - // repo: '', - // repoId: '', - // categoryId: '', - // mapping: 'pathname', - // reactionsEnabled: true, - // inputPosition: 'top', - // }, + comment: { + provider: "Giscus", // "Artalk" | "Giscus" | "Twikoo" | "Waline" + comment: true, + repo: "Dessera/dessera.github.io", + repoId: "R_kgDOMu79bw", + category: "Announcements", + categoryId: "DIC_kwDOMu79b84Cjui1", + }, }, }), }); diff --git a/docs/.vuepress/plume.config.ts b/docs/.vuepress/plume.config.ts index 76df496..3678f8f 100644 --- a/docs/.vuepress/plume.config.ts +++ b/docs/.vuepress/plume.config.ts @@ -7,19 +7,19 @@ import { notes } from "./notes"; */ export default defineThemeConfig({ logo: "https://theme-plume.vuejs.press/plume.png", - // your git repo url - docsRepo: "", + + docsRepo: "https://github.com/Dessera/dessera-blog", docsDir: "docs", appearance: true, profile: { - avatar: "https://theme-plume.vuejs.press/plume.png", - name: "DesseraBlog", - description: "Dessera的个人主页", - // circle: true, - // location: '', - // organization: '', + avatar: "/avatar.jpg", + name: "DE-LAB", + description: "Dessera的个人博客", + circle: true, + location: "China", + organization: "吉林大学", }, navbar, diff --git "a/docs/Linux/\345\210\235\346\216\242Nix-01-\345\214\205\344\270\216Flake.md" "b/docs/Linux/\345\210\235\346\216\242Nix-01-\345\214\205\344\270\216Flake.md" index 9a71597..2a8dfc8 100644 --- "a/docs/Linux/\345\210\235\346\216\242Nix-01-\345\214\205\344\270\216Flake.md" +++ "b/docs/Linux/\345\210\235\346\216\242Nix-01-\345\214\205\344\270\216Flake.md" @@ -2,6 +2,10 @@ title: 初探Nix-01-包与Flake createTime: 2024/09/14 15:36:04 permalink: /article/szm6xukr/ +tags: +- Linux +- Nix +- Flake --- 笔者认为,要熟练掌握某项技术或工具,就需要深入地亲自体会它,强迫自己进入“探索-碰壁-再探索”这一良性循环。学习某一语言如此,学习使用某个工具亦如。 diff --git "a/docs/\345\267\245\347\250\213\345\214\226\344\273\243\347\240\201\345\256\236\350\267\265/\345\210\251\347\224\250poetry\346\220\255\345\273\272\345\267\245\347\250\213\345\214\226python\345\274\200\345\217\221\347\216\257\345\242\203.md" "b/docs/\345\267\245\347\250\213\345\214\226\344\273\243\347\240\201\345\256\236\350\267\265/\345\210\251\347\224\250poetry\346\220\255\345\273\272\345\267\245\347\250\213\345\214\226python\345\274\200\345\217\221\347\216\257\345\242\203.md" index bd5055e..9232a07 100644 --- "a/docs/\345\267\245\347\250\213\345\214\226\344\273\243\347\240\201\345\256\236\350\267\265/\345\210\251\347\224\250poetry\346\220\255\345\273\272\345\267\245\347\250\213\345\214\226python\345\274\200\345\217\221\347\216\257\345\242\203.md" +++ "b/docs/\345\267\245\347\250\213\345\214\226\344\273\243\347\240\201\345\256\236\350\267\265/\345\210\251\347\224\250poetry\346\220\255\345\273\272\345\267\245\347\250\213\345\214\226python\345\274\200\345\217\221\347\216\257\345\242\203.md" @@ -2,6 +2,9 @@ title: 利用poetry搭建工程化python开发环境 createTime: 2024/10/15 10:13:28 permalink: /article/55fg352e/ +tags: +- Poetry +- Python --- 想象一个场景,当你手中有一份python工具函数库或程序,你该如何将它分发给别人?不同的人对这个问题应当有完全不同的解法,但大体来说,你有两种方式: diff --git a/package.json b/package.json index 586a0a6..712cba0 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "dessera-blog", + "name": "dessera.github.io", "type": "module", "version": "1.0.0", - "description": "Dessera的个人主页", - "author": "Dessera <1533653159@qq.com>", - "license": "MIT", + "description": "Dessera的个人博客", + "author": "Dessera ", + "license": "Apache-2.0", "scripts": { "docs:dev": "vuepress dev docs", "docs:dev-clean": "vuepress dev docs --clean-cache --clean-temp",