Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihuaiwen committed Jan 24, 2024
1 parent b2572c7 commit 9e31558
Show file tree
Hide file tree
Showing 34 changed files with 311 additions and 596 deletions.
4 changes: 2 additions & 2 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
* [六、云原生](docs/cloudnative/README.md)
* [七、redis](docs/redis/README.md)
* [7.1 redis缓存.md](docs/redis/redis缓存.md)
* [八、mysql](docs/mysql/README.md)
* [8.1 mysql缓存.md](docs/mysql/数据库缓存.md)
* [八、mysql](docs/database/mysql/README.md)
* [8.1 mysql缓存.md](docs/database/mysql/数据库缓存.md)
* [面试](docs/interview/README.md)

* [算法](docs/interview/算法.md)
Expand Down
13 changes: 13 additions & 0 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
import {defineUserConfig} from "vuepress";
import theme from "./theme.js";
import { commentPlugin } from "vuepress-plugin-comment2";
import {comment} from "vuepress-theme-hope";

export default defineUserConfig({
dest: "./dist",
title: "个人博客",
description: "个人博客",
lang: "zh-CN",
plugins: [
// https://plugin-comment2.vuejs.press/zh/config/giscus.html#darktheme
commentPlugin({
provider: "Giscus",
comment: true, //启用评论功能
repo: "Zephery/MyWebsite", //远程仓库
repoId: "MDEwOlJlcG9zaXRvcnkyMDM2MDIyMDQ=", //对应自己的仓库Id
category: "General",
categoryId: "DIC_kwDODCK5HM4Ccp32" //对应自己的分类Id
}),
],
head: [
// meta
["meta", {name: "robots", content: "all"}],
Expand Down
4 changes: 2 additions & 2 deletions docs/.vuepress/navbar.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { navbar } from "vuepress-theme-hope";

export default navbar([
{ text: "面试指南", icon: "java", link: "/home.md" },
{ text: "开源项目", icon: "github", link: "/open-source-project/" },
{ text: "Java", icon: "java", link: "/index" },
{ text: "数据库", icon: "database", link: "/database/" },
{ text: "技术书籍", icon: "book", link: "/books/" },
// {
// text: "程序人生",
Expand Down
102 changes: 101 additions & 1 deletion docs/.vuepress/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/.vuepress/public/me.png
Binary file not shown.
102 changes: 102 additions & 0 deletions docs/.vuepress/sidebar/database.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
import {arraySidebar} from "vuepress-theme-hope";

export const database = arraySidebar([
{
text: "数据库",
icon: "database",
collapsible: true,
children: [
{
text: "基础",
icon: "basic",
children: [
"basis",
"nosql",
"character-set",
{
text: "SQL",
icon: "SQL",
prefix: "sql/",
collapsible: true,
children: [
"sql-syntax-summary",
"sql-questions-01",
"sql-questions-02",
"sql-questions-03",
"sql-questions-04",
"sql-questions-05",
],
},
],
},
{
text: "MySQL",
prefix: "mysql/",
icon: "mysql",
children: [
"1mysql",
"gap锁",
"mysql-high-performance-optimization-specification-recommendations",
{
text: "重要知识点",
icon: "star",
collapsible: true,
children: [
"mysql-index",
{
text: "MySQL三大日志详解",
link: "mysql-logs",
},
"transaction-isolation-level",
"innodb-implementation-of-mvcc",
"how-sql-executed-in-mysql",
"mysql-query-cache",
"mysql-query-execution-plan",
"mysql-auto-increment-primary-key-continuous",
"some-thoughts-on-database-storage-time",
"index-invalidation-caused-by-implicit-conversion",
],
},
],
},
{
text: "Redis",
prefix: "redis/",
icon: "redis",
children: [
"cache-basics",
"redis-questions-01",
"redis-questions-02",
{
text: "重要知识点",
icon: "star",
collapsible: true,
children: [
"3-commonly-used-cache-read-and-write-strategies",
"redis-data-structures-01",
"redis-data-structures-02",
"redis-persistence",
"redis-memory-fragmentation",
"redis-common-blocking-problems-summary",
"redis-cluster",
],
},
],
},
{
text: "Elasticsearch",
prefix: "elasticsearch/",
icon: "elasticsearch",
collapsible: true,
children: ["elasticsearch-questions-01"],
},
{
text: "MongoDB",
prefix: "mongodb/",
icon: "mongodb",
collapsible: true,
children: ["mongodb-questions-01", "mongodb-questions-02"],
},
],
},
]);
Loading

0 comments on commit 9e31558

Please sign in to comment.