Skip to content

Commit

Permalink
添加评论功能
Browse files Browse the repository at this point in the history
  • Loading branch information
Dessera committed Oct 27, 2024
1 parent a47506f commit 70eb9e4
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 29 deletions.
12 changes: 6 additions & 6 deletions docs/.vuepress/client.ts
Original file line number Diff line number Diff line change
@@ -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)
},
})
20 changes: 9 additions & 11 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineUserConfig({
base: "/",
lang: "zh-CN",
title: "DE-LAB",
description: "Dessera的个人主页",
description: "Dessera的个人博客",

bundler: viteBundler(),

Expand Down Expand Up @@ -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",
},
},
}),
});
16 changes: 8 additions & 8 deletions docs/.vuepress/plume.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 4 additions & 0 deletions docs/Linux/初探Nix-01-包与Flake.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
title: 初探Nix-01-包与Flake
createTime: 2024/09/14 15:36:04
permalink: /article/szm6xukr/
tags:
- Linux
- Nix
- Flake
---

笔者认为,要熟练掌握某项技术或工具,就需要深入地亲自体会它,强迫自己进入“探索-碰壁-再探索”这一良性循环。学习某一语言如此,学习使用某个工具亦如。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
title: 利用poetry搭建工程化python开发环境
createTime: 2024/10/15 10:13:28
permalink: /article/55fg352e/
tags:
- Poetry
- Python
---

想象一个场景,当你手中有一份python工具函数库或程序,你该如何将它分发给别人?不同的人对这个问题应当有完全不同的解法,但大体来说,你有两种方式:
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 <lord.changed@foxmail.com>",
"license": "Apache-2.0",
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:dev-clean": "vuepress dev docs --clean-cache --clean-temp",
Expand Down

0 comments on commit 70eb9e4

Please sign in to comment.