1
0

项目:架构调整

This commit is contained in:
周中平 2022-10-25 12:07:38 +08:00
parent 26fb5eec2e
commit 80702ecf2b
No known key found for this signature in database
GPG Key ID: B1DF9DD42D8E00DC
171 changed files with 262 additions and 62 deletions

View File

@ -76,9 +76,9 @@ const config = {
[ [
"@docusaurus/plugin-content-docs", "@docusaurus/plugin-content-docs",
{ {
id: "dev", id: "getting-started",
path: "wiki/dev", path: "wiki/getting-started",
routeBasePath: "dev", routeBasePath: "getting-started",
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master", editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true, showLastUpdateAuthor: true,
@ -89,9 +89,9 @@ const config = {
[ [
"@docusaurus/plugin-content-docs", "@docusaurus/plugin-content-docs",
{ {
id: "algo", id: "programming-language",
path: "wiki/algo", path: "wiki/programming-language",
routeBasePath: "algo", routeBasePath: "programming-language",
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master", editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true, showLastUpdateAuthor: true,
@ -102,9 +102,9 @@ const config = {
[ [
"@docusaurus/plugin-content-docs", "@docusaurus/plugin-content-docs",
{ {
id: "struct", id: "structures-algorithms",
path: "wiki/struct", path: "wiki/structures-algorithms",
routeBasePath: "struct", routeBasePath: "structures-algorithms",
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master", editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true, showLastUpdateAuthor: true,
@ -115,9 +115,9 @@ const config = {
[ [
"@docusaurus/plugin-content-docs", "@docusaurus/plugin-content-docs",
{ {
id: "ops", id: "computer-composition",
path: "wiki/ops", path: "wiki/computer-composition",
routeBasePath: "ops", routeBasePath: "computer-composition",
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master", editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true, showLastUpdateAuthor: true,
@ -128,9 +128,9 @@ const config = {
[ [
"@docusaurus/plugin-content-docs", "@docusaurus/plugin-content-docs",
{ {
id: "safe", id: "computer-network",
path: "wiki/safe", path: "wiki/computer-network",
routeBasePath: "safe", routeBasePath: "computer-network",
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master", editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true, showLastUpdateAuthor: true,
@ -138,7 +138,72 @@ const config = {
breadcrumbs: false, breadcrumbs: false,
}, },
], ],
[
"@docusaurus/plugin-content-docs",
{
id: "operating-system",
path: "wiki/operating-system",
routeBasePath: "operating-system",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
],
[
"@docusaurus/plugin-content-docs",
{
id: "database-system",
path: "wiki/database-system",
routeBasePath: "database-system",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
],
[
"@docusaurus/plugin-content-docs",
{
id: "computer-security",
path: "wiki/computer-security",
routeBasePath: "computer-security",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
],
[
"@docusaurus/plugin-content-docs",
{
id: "software-engineering",
path: "wiki/software-engineering",
routeBasePath: "software-engineering",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
],
[
"@docusaurus/plugin-content-docs",
{
id: "compilation-principle",
path: "wiki/compilation-principle",
routeBasePath: "compilation-principle",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
],
// -----------------------------------------------------------------------------------
[ [
"@docusaurus/plugin-content-docs", "@docusaurus/plugin-content-docs",
{ {
@ -178,6 +243,47 @@ const config = {
breadcrumbs: false, breadcrumbs: false,
}, },
], ],
// -----------------------------------------------------------------------------------
[
"@docusaurus/plugin-content-docs",
{
id: "roadmap",
path: "work/roadmap",
routeBasePath: "roadmap",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
],
[
"@docusaurus/plugin-content-docs",
{
id: "devops",
path: "work/devops",
routeBasePath: "devops",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
],
[
"@docusaurus/plugin-content-docs",
{
id: "devsec",
path: "work/devsec",
routeBasePath: "devsec",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
],
// -----------------------------------------------------------------------------------
[ [
"@docusaurus/plugin-content-docs", "@docusaurus/plugin-content-docs",
{ {
@ -191,6 +297,7 @@ const config = {
breadcrumbs: false, breadcrumbs: false,
}, },
], ],
// -----------------------------------------------------------------------------------
[ [
"@docusaurus/plugin-content-docs", "@docusaurus/plugin-content-docs",
{ {
@ -204,20 +311,6 @@ const config = {
breadcrumbs: false, breadcrumbs: false,
}, },
], ],
[
"@docusaurus/plugin-content-docs",
{
id: "work",
path: "work",
routeBasePath: "work",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://git.7wate.com/zhouzhongping/wiki/src/branch/master",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
breadcrumbs: false,
},
]
], ],
themeConfig: themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
@ -255,31 +348,65 @@ const config = {
label: "👨🏻‍🎓 维基", label: "👨🏻‍🎓 维基",
items: [ items: [
{ {
label: "程序语言", label: "基础入门",
to: "/dev", to: "/getting-started",
}, },
{ {
label: "数据结构", label: "程序设计语言",
to: "/struct", to: "/programming-language",
}, },
{ {
label: "算法逻辑", label: "数据结构与算法",
to: "/algo", to: "/structures-algorithms",
}, },
{ {
label: "开发运维", label: "计算机组成",
to: "/ops", to: "/computer-composition",
}, },
{ {
label: "信息安全", label: "计算机网络",
to: "/safe", to: "/computer-network",
}, },
{ {
label: "其他文档", label: "操作系统",
to: "/docs", to: "/operating-system",
},
{
label: "数据库系统",
to: "/database-system",
},
{
label: "计算机系统安全",
to: "/computer-security",
},
{
label: "软件工程",
to: "/software-engineering",
},
{
label: "编译原理",
to: "/compilation-principle",
}, },
], ],
}, },
{
position: "right",
label: "👨‍💻 职业",
items: [
{
label: "求职之路",
to: "/roadmap",
},
{
label: "运维开发工程师",
to: "/devops",
},
{
label: "信息安全工程师",
to: "/devsec",
},
]
},
{ {
position: "right", position: "right",
label: "💼 组织", label: "💼 组织",
@ -298,7 +425,6 @@ const config = {
}, },
] ]
}, },
{ to: "/work", label: "👨‍💻 职业", position: "right" },
{ to: "/life", label: "🚴🏻‍♀️ 生活", position: "right" }, { to: "/life", label: "🚴🏻‍♀️ 生活", position: "right" },
{ to: "/journal", label: "📽️ 日志", position: "right" }, { to: "/journal", label: "📽️ 日志", position: "right" },
], ],

View File

@ -167,9 +167,9 @@ div[class^='announcementBar_'] {
::-webkit-scrollbar-thumb:window-inactive { ::-webkit-scrollbar-thumb:window-inactive {
background: rgba(255, 0, 0, 0.4); background: rgba(255, 0, 0, 0.4);
} }
.dropdown__menu{ /* .dropdown__menu{
min-width: 7rem!important; min-width: 7rem!important;
} } */
.margin-vert--lg > .container > .row { .margin-vert--lg > .container > .row {
flex-direction: column-reverse!important; flex-direction: column-reverse!important;

View File

@ -5,7 +5,7 @@ sidebar_position: 1
# Home # Home
算法算法 ~ 🤩🤩🤩 编译原理 ~ 🤩🤩🤩

View File

@ -5,7 +5,7 @@ sidebar_position: 1
# Home # Home
数据结构数据结构 ~ 🤩🤩🤩 计算机组成原理 ~ 🤩🤩🤩

View File

@ -0,0 +1,11 @@
---
slug: /
sidebar_position: 1
---
# Home
计算机网络 ~ 🤩🤩🤩

View File

@ -0,0 +1,11 @@
---
slug: /
sidebar_position: 1
---
# Home
计算机安全 ~ 🤩🤩🤩

View File

@ -0,0 +1,11 @@
---
slug: /
sidebar_position: 1
---
# Home
数据库系统 ~ 🤩🤩🤩

View File

@ -5,7 +5,7 @@ sidebar_position: 1
# Home # Home
安全安全 ~ 🤩🤩🤩 基础基础 ~ 🤩🤩🤩

View File

@ -0,0 +1,11 @@
---
slug: /
sidebar_position: 1
---
# Home
操作系统 ~ 🤩🤩🤩

Some files were not shown because too many files have changed in this diff Show More