Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
8258927
chore: doc
zengsl Dec 11, 2023
e0bd3bd
fix: delete old doc
zengsl Dec 11, 2023
8ed00d4
feat: enable pwa
zengsl Dec 11, 2023
363f15e
docs: 补充说明“代码保护”
zengsl Dec 12, 2023
36a6d02
docs: idea plugin
zengsl Dec 12, 2023
049ab88
docs: idea plugin
zengsl Dec 13, 2023
8867177
chore: doc
zengsl Dec 14, 2023
27cfd85
chore: doc
zengsl Dec 15, 2023
ba05614
chore: doc
zengsl Dec 23, 2023
41d9edf
chore: doc
zengsl Jan 11, 2024
0a59dbb
chore: doc
zengsl Nov 1, 2024
266807a
chore: doc
zengsl Dec 19, 2024
c54fa98
chore: doc
zengsl Dec 19, 2024
97afd0f
chore: doc
zengsl Dec 19, 2024
0aba79f
chore: doc
zengsl Dec 19, 2024
921f334
chore: doc
zengsl Dec 19, 2024
daf0e4e
chore: doc
zengsl Dec 19, 2024
f8ef7c6
chore: doc
zengsl Dec 30, 2024
65a7e40
chore:init
zengsl Dec 30, 2024
629fde4
chore:init
zengsl Dec 30, 2024
03cadc7
chore: doc
zengsl Jan 2, 2025
23624a1
chore: doc
zengsl Jan 2, 2025
de87f35
chore: doc
zengsl Jan 6, 2025
3165190
chore: doc
zengsl Jan 7, 2025
9e50e45
chore: doc
zengsl Jan 7, 2025
bf35cbb
chore: doc
zengsl Jan 8, 2025
9c0c1c7
chore: 描述微调
zengsl Jan 8, 2025
e663015
chore: 描述微调
zengsl Jan 9, 2025
7bb140a
chore: doc
zengsl Jan 9, 2025
81b5ac1
build: 升级主题
zengsl Jan 9, 2025
de79f85
build: 修改默认主题色
zengsl Jan 9, 2025
9ddf6e4
build: 升级主题后修改主题配置
zengsl Jan 10, 2025
d483044
build: 升级主题后修改主题配置
zengsl Jan 10, 2025
dec615a
build: 升级主题后修改主题配置
zengsl Jan 10, 2025
c2aec12
build: 升级主题后修改主题配置
zengsl Jan 10, 2025
73cc865
fix: nav
zengsl Jan 10, 2025
a5843eb
fix: nav
zengsl Jan 10, 2025
97f1be2
fix: nav
zengsl Jan 10, 2025
f320e72
fix: nav
zengsl Jan 10, 2025
d67617f
build: search插件升级
zengsl Jan 10, 2025
f1ae607
build: 提交pnpm-lock.yaml
zengsl Jan 10, 2025
a0bc9f6
chore: doc
zengsl Jan 11, 2025
324b8d2
chore: doc
zengsl Jan 11, 2025
5520fba
fix: icon
zengsl Jan 11, 2025
752eeeb
feat: 设置头信息、修改配置
zengsl Jan 11, 2025
2fff68b
feat: 设置头信息、修改配置
zengsl Jan 11, 2025
4f5c2fe
Merge remote-tracking branch 'origin/theme-hope2' into theme-hope2
zengsl Jan 11, 2025
b328fc3
feat: 设置头信息
zengsl Jan 11, 2025
8164b3e
feat: 设置头信息
zengsl Jan 11, 2025
3541466
chore: doc
zengsl Jan 11, 2025
a53d5b4
build: disable pwa
zengsl Jan 11, 2025
157710a
chore: doc
zengsl Jan 11, 2025
eccb0b1
build: enable pwa
zengsl Jan 11, 2025
a688059
build: disable pwa
zengsl Jan 11, 2025
f886547
build: disable pwa
zengsl Jan 11, 2025
601d752
chore: 所有页面请求均改为小写,满足URL规范
zengsl Jan 12, 2025
42931f5
fix: 修复侧边栏
zengsl Jan 12, 2025
25774d3
chore: doc
zengsl Jan 12, 2025
1bc6901
chore: 数字头像
zengsl Jan 13, 2025
164a205
chore: doc
zengsl Jan 13, 2025
9fea7d3
chore: doc
zengsl Jan 13, 2025
65cef0d
chore: doc
zengsl Feb 25, 2025
56c1bf9
chore: some unfinished docs
zengsl Apr 19, 2025
d8c2822
chore: some unfinished docs
zengsl Apr 19, 2025
7b8f3a4
chore: cors
zengsl Apr 19, 2025
851a762
chore:seo
zengsl Apr 19, 2025
7b2c57e
chore:image
zengsl Apr 20, 2025
193b894
chore:docs
zengsl Apr 20, 2025
5530861
chore:docs
zengsl Apr 21, 2025
ddeda3e
chore:docs
zengsl Apr 22, 2025
50f9953
chore:logo
zengsl Apr 22, 2025
f2063e5
chore:logo
zengsl Apr 22, 2025
14d1d19
chore:logo
zengsl Apr 22, 2025
ced0522
chore:logo
zengsl Apr 23, 2025
945614f
docs:k8s
zengsl May 24, 2025
1cee011
docs:camunda
zengsl Jun 16, 2025
4021fd2
docs:camunda
zengsl Jun 20, 2025
08942c3
docs:mysql
zengsl Jul 15, 2025
c74ab3f
chore: doc
zengsl Sep 24, 2025
1244a9a
chore: doc
zengsl Dec 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ node_modules/
blog/.vuepress/.cache/
blog/.vuepress/.temp/
blog/.vuepress/dist/

vcs.xml
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions blog/.vuepress/client.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import {defineClientConfig} from 'vuepress/client'
import {usePageData} from 'vuepress/client'

export default defineClientConfig({
setup() {
/*const page = usePageData()
page.value.path = page.value.path && page.value.path.toLowerCase()
console.log('page.value.path', page.value.path)*/
}
})
14 changes: 14 additions & 0 deletions blog/.vuepress/components/BlogHero.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!-- .vuepress/components/BlogHero.vue -->
<script setup lang="ts">
import BlogHero from "vuepress-theme-hope/blog/components/BlogHero.js";
import BingHeroBackground from "vuepress-theme-hope/presets/BingHeroBackground.js";
</script>

<template>
<BlogHero>
<!-- 注释并开启bgImage -->
<template #bg>
<BingHeroBackground/>
</template>
</BlogHero>
</template>
61 changes: 28 additions & 33 deletions blog/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,39 +1,34 @@
import { defineUserConfig } from "vuepress";
import {defineUserConfig} from "vuepress";
import theme from "./theme.js";
import {registerComponentsPlugin} from "@vuepress/plugin-register-components";
import { path } from '@vuepress/utils'
import {searchProPlugin} from "vuepress-plugin-search-pro";
import {getDirname, path} from 'vuepress/utils'

const __dirname = getDirname(import.meta.url);

// @ts-ignore
export default defineUserConfig({
base: "/",
locales: {
"/": {
lang: "zh-CN",
title: "zzz's Blog",
description: "zzz 的博客",
},
},

theme,
// Enable it with pwa
// shouldPrefetch: false,
plugins:[registerComponentsPlugin({
componentsDir: path.resolve(__dirname, '../../components'),
}),
searchProPlugin({
// 索引全部内容
indexContent: true,
// 为分类和标签添加索引
customFields: [
{
getter: (page) => page.frontmatter.category,
formatter: "分类:$content",
// 与pwa插件配合 https://theme-hope.vuejs.press/zh/guide/advanced/pwa.html
shouldPrefetch: false,
base: "/",
locales: {
"/": {
lang: "zh-CN",
title: "zzz's Blog",
description: "zzz 的博客",
},
{
getter: (page) => page.frontmatter.tag,
formatter: "标签:$content",
},
],
}),
]
},
theme,
// Enable it with pwa
// shouldPrefetch: false,
plugins: [
registerComponentsPlugin({
componentsDir: path.resolve(__dirname, '../../components'),
}),
],
alias: {
"@theme-hope/modules/blog/components/BlogHero": path.resolve(
__dirname,
"./components/BlogHero.vue",
),
},
});
95 changes: 45 additions & 50 deletions blog/.vuepress/navbar/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,23 @@ export const zhNavbar = navbar([
text: '前端',
prefix: "/front/",
icon: "fa-brands fa-html5",
children: [{
text: 'Html',
link: 'html',
icon: "fa-brands fa-html5",
},
children: [
{
text: 'Html',
link: 'html',
icon: "fa-brands fa-html5",
},
{
text: 'Js',
link: 'js/',
icon: "fa-brands fa-js",

},
{
text: 'Ts',
link: 'ts/',
icon: "skill-icons typescript",

},
{
text: 'React',
Expand All @@ -25,7 +32,7 @@ export const zhNavbar = navbar([
},
{
text: 'Vue',
link: 'vue',
link: 'vue/',
icon: "fa-brands fa-vuejs",

},
Expand Down Expand Up @@ -56,11 +63,15 @@ export const zhNavbar = navbar([
},
{
text: 'Spring Security',
link: 'SpringSecurity/'
link: 'spring-security/'
},
{
text: 'Spring Boot',
link: 'spring-boot/'
},
{
text: 'Spring Cloud',
link: 'SpringCloud/'
link: 'spring-cloud/'
}
]
},
Expand All @@ -82,33 +93,25 @@ export const zhNavbar = navbar([
},
{
text: '分布式',
link: 'distributed'
link: 'distributed/'
},
{
text: '消息中间间',
link: 'message-queue'
text: '消息中间件',
link: 'message-queue/'

},
{
text: '工作流',
link: 'workflow'
link: 'workflow/'
}
,
{
text: 'Dubbo',
link: 'Dubbo'
},
{
text: 'Netty',
link: 'Netty'
},
{
text: '一些数字',
link: 'Java体系中一些数字'
link: 'java-number'
},
{
text: 'C语言',
link: 'C语言'
link: 'c'
}

]
Expand All @@ -119,7 +122,7 @@ export const zhNavbar = navbar([
},
{
text: '数据库',
icon: 'database',
icon: 'fa-solid fa-database',
children: [
{
text: 'MySql',
Expand All @@ -128,29 +131,21 @@ export const zhNavbar = navbar([
{
text: 'Redis',
link: '/db/redis/'
},
{
text: 'Oracle',
link: '/db/oracle/'
},
{
text: 'Pg',
link: '/db/postgresql/'
}
]
},
{
text: '网络',
icon: 'globe',
icon: 'fa-solid fa-globe',
prefix: '/network/',
children:[
children: [
{
text: '协议',
link: 'protocol'
link: 'protocol/'
},
{
text: '抓包',
link: 'grab'
link: 'grab/'
}
]

Expand Down Expand Up @@ -200,6 +195,9 @@ export const zhNavbar = navbar([
}, {
text: 'Sonar',
link: '/ops/sonar/'
}, {
text: 'Jenkins',
link: '/ops/jenkins/'
}
]
}
Expand All @@ -208,35 +206,38 @@ export const zhNavbar = navbar([
},
{
text: '工具',
icon: 'toolbox',
icon: 'fa-solid fa-toolbox',
children: [{
text: 'Typora',
link: '/tools/typora/1.installAndSetting'
link: '/tools/typora/install_setting'
}, {
text: 'Git',
link: '/tools/git/'
}, {
text: 'B站字幕',
link: '/tools/b-srt.html'
}]
},
{
text: '其他',
icon: 'box',
icon: 'fa-solid fa-box',
children: [
{
text: '算法',
link: '/other/algorithm'
link: '/other/algorithm/'

},
{
text: '性能调优',
link: '/other/performanceOptimize/'
link: '/other/optimize/'
},
{
text: '调试技巧',
link: '/other/debugger/'
},
{
text: '防重复请求',
link: '/other/repeatRequest'
link: '/other/repeat_request'
},
{
text: '批量插入',
Expand All @@ -249,26 +250,20 @@ export const zhNavbar = navbar([
{
text: 'PDF',
link: '/other/pdf/'
}, {
text: 'Python',
link: '/python/'
}, {
text: 'Groovy',
link: '/groovy/'
}, {
text: 'RegExp',
link: '/other/regExp'
link: '/other/reg_exp'
}, {
text: 'VuePress',
link: '/other/blog/'
}, {
text: 'Intellij plugin',
text: 'Intellij Plugin',
link: '/other/intellij/'
}
]
}, {
text: '收藏',
icon: 'star',
icon: 'fa-solid fa-star',
link: '/collect/network'
},

Expand Down
3 changes: 3 additions & 0 deletions blog/.vuepress/public/_headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://docs.netlify.com/routing/headers/
/assets/*
Cache-Control: public, max-age=604800
Loading