Skip to content

Commit

Permalink
更新依赖版本
Browse files Browse the repository at this point in the history
新增部分笔记
优化结构内容
  • Loading branch information
i-mufeng committed Sep 25, 2023
1 parent 3ccd4a8 commit 79a39bc
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 260 deletions.
33 changes: 22 additions & 11 deletions docs/.vitepress/blog-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,28 @@ const blogTheme = getThemeConfig({
repoId: 'R_kgDOKW0QNw',
category: 'General',
categoryId: 'DIC_kwDOKW0QN84CZimX'
}
// // 友链
// friend: [
// {
// nickname: '粥里有勺糖',
// des: '你的指尖用于改变世界的力量',
// avatar:
// 'https://img.cdn.sugarat.top/mdImg/MTY3NDk5NTE2NzAzMA==674995167030',
// url: 'https://sugarat.top',
// },
},
footer: {
copyright: `Mblog © 2021-2023 Created by 沐风`,
icpRecord: {
name: '陇ICP备2021003158号-1',
link: 'https://beian.miit.gov.cn/'
},
securityRecord: {
name: '渝公网安备 50011802010624号',
link: 'https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=50011802010624'
}
},
// 友链
friend: [
{
nickname: '粥里有勺糖',
des: '你的指尖用于改变世界的力量',
avatar:
'https://img.cdn.sugarat.top/mdImg/MTY3NDk5NTE2NzAzMA==674995167030',
url: 'https://sugarat.top',
},
],
// {
// nickname: 'Vitepress',
// des: 'Vite & Vue Powered Static Site Generator',
Expand All @@ -55,7 +67,6 @@ const blogTheme = getThemeConfig({
// },
// ],

// 公告
// popover: {
// title: '公告',
// body: [
Expand Down
44 changes: 19 additions & 25 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,30 @@ export default defineConfig({
},
lastUpdated: true,
themeConfig: {
lastUpdatedText: '上次更新于',
footer: {
message:
'<a href="https://beian.miit.gov.cn/" target="_blank">陇ICP备2021003158号-1&nbsp;&nbsp;</a> | &nbsp;&nbsp;' +
'<a target="_blank" href=http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=50011802010624">' +
'<img style="display: inline;height: 14px" alt="" src="https://p0.meituan.net/travelcube/d0289dc0a46fc5b15b3363ffa78cf6c719256.png"/>' +
'&nbsp;渝公网安备 50011802010624号</a>',
copyright: 'Mblog © 2021-2023 Created by 沐风',
},
logo: '/logo.svg',
editLink: {
pattern:
'https://github.com/i-mufeng/mblog/tree/master/docs/:path',
text: 'Edit On GitHub'
pattern:
'https://github.com/i-mufeng/mblog/tree/master/docs/:path',
text: 'Edit On GitHub'
},
nav: [
{text: '首页', link: '/'},
{text: '技术笔记',
items:[
{text: "建站教程",link: '/technology/web/'},
{text: "工具分享",link: '/technology/tools/'},
{text: "折腾日记",link: '/technology/other/'},
]},
{text: '全栈知识体系',
items: [
{text: "前端开发", link: '/fullstack/frontend/'},
{text: "后端开发", link: '/fullstack/backend/'},
{text: "数据库", link: '/fullstack/database/'},
{text: "系统运维", link: '/fullstack/devops/'},
],
{
text: '技术笔记',
items: [
{text: "建站教程", link: '/technology/web/'},
{text: "工具分享", link: '/technology/tools/'},
{text: "折腾日记", link: '/technology/other/'},
]
},
{
text: '全栈知识体系',
items: [
{text: "前端开发", link: '/full-stack/frontend/'},
{text: "后端开发", link: '/full-stack/backend/'},
{text: "数据库", link: '/full-stack/database/'},
{text: "系统运维", link: '/full-stack/devops/'},
],
},
{text: '杂谈随笔', link: '/tittle-tattle/'},
{text: '友链', link: '/friend-link-list/'},
Expand Down
23 changes: 11 additions & 12 deletions docs/friend-link-list/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,18 @@ sidebar: false

:::
<script setup>
import { VPTeamMembers } from 'vitepress/theme'

const members = [
{
avatar: 'https://www.github.com/yyx990803.png',
name: 'Evan You',
title: 'Creator',
links: [
{ icon: 'github', link: 'https://github.com/yyx990803' },
{ icon: 'twitter', link: 'https://twitter.com/youyuxi' }
import { VPTeamMembers } from 'vitepress/theme'
const members = [
{
avatar: 'https://www.github.com/yyx990803.png',
name: 'Evan You',
title: 'Creator',
links: [
{ icon: 'github', link: 'https://github.com/yyx990803' },
{ icon: 'twitter', link: 'https://twitter.com/youyuxi' }
]
},
]
},
]
</script>

# 友情链接
Expand Down
208 changes: 0 additions & 208 deletions docs/full-stack/index.md

This file was deleted.

2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ blog:
# 设置 inspiringTimeout 可以实现自动切换
inspiringTimeout: 6000
pageSize: 5
author: MuFeng
logo: https://cn.gravatar.com/avatar/f1dcdc8fa782b81824df5d67022e4d4a?s=100
---
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@sugarat/theme": "^0.1.49",
"element-plus": "^2.3.8",
"@sugarat/theme": "^0.2.1",
"element-plus": "^2.3.14",
"pagefind": "^1.0.3",
"vue": "^3.3.4"
},
"directories": {
"doc": "docs"
},
"devDependencies": {
"sass": "^1.64.1",
"typescript": "^5.1.6",
"sass": "^1.68.0",
"typescript": "^5.2.2",
"vitepress": "1.0.0-rc.15"
},
"author": "沐风",
Expand Down

0 comments on commit 79a39bc

Please sign in to comment.