2022-01-12 15:43:01 +08:00
|
|
|
// @ts-check
|
|
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
|
|
|
|
2022-05-05 17:27:32 +08:00
|
|
|
const lightCodeTheme = require("prism-react-renderer/themes/github");
|
|
|
|
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
|
2022-01-12 15:43:01 +08:00
|
|
|
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
|
|
const config = {
|
2022-05-05 17:27:32 +08:00
|
|
|
title: "7Wate",
|
|
|
|
tagline: "For Freedom",
|
|
|
|
url: "https://wiki.7wate.com",
|
|
|
|
baseUrl: "/",
|
|
|
|
onBrokenLinks: "log",
|
|
|
|
onBrokenMarkdownLinks: "log",
|
|
|
|
favicon: "img/favicon.ico",
|
|
|
|
|
|
|
|
// GitHub pages deployment config.
|
|
|
|
// If you aren't using GitHub pages, you don't need these.
|
|
|
|
// organizationName: '7wate', // Usually your GitHub org/user name.
|
|
|
|
// projectName: 'wiki', // Usually your repo name.
|
|
|
|
|
|
|
|
// Even if you don't use internalization, you can use this field to set useful
|
|
|
|
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
|
|
// to replace "en" with "zh-Hans".
|
|
|
|
i18n: {
|
2022-05-06 17:41:50 +08:00
|
|
|
defaultLocale: "zh-Hans",
|
|
|
|
locales: ["zh-Hans"],
|
2022-05-05 17:27:32 +08:00
|
|
|
},
|
2022-01-12 15:43:01 +08:00
|
|
|
|
|
|
|
presets: [
|
|
|
|
[
|
2022-05-05 17:27:32 +08:00
|
|
|
"classic",
|
2022-01-12 15:43:01 +08:00
|
|
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
|
|
({
|
|
|
|
docs: {
|
2022-05-05 17:27:32 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-01-12 15:43:01 +08:00
|
|
|
},
|
|
|
|
blog: {
|
2022-06-27 16:45:18 +08:00
|
|
|
blogTitle: "7Wate`s Blog",
|
|
|
|
blogDescription: "7Wate 的个人生活和工作记录",
|
|
|
|
blogSidebarCount: 7,
|
2022-10-17 19:59:06 +08:00
|
|
|
blogSidebarTitle: "近期文章",
|
2022-01-12 15:43:01 +08:00
|
|
|
showReadingTime: true,
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-07-26 15:42:47 +08:00
|
|
|
feedOptions: {
|
2022-08-26 16:53:23 +08:00
|
|
|
title: "7Wate`s Blog",
|
|
|
|
description: "7Wate 的个人生活和工作记录",
|
2022-07-26 15:42:47 +08:00
|
|
|
type: 'all',
|
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} 7Wate, Inc.`,
|
|
|
|
},
|
2022-01-12 15:43:01 +08:00
|
|
|
},
|
|
|
|
theme: {
|
2022-05-05 17:27:32 +08:00
|
|
|
customCss: require.resolve("./src/css/custom.css"),
|
2022-01-12 15:43:01 +08:00
|
|
|
},
|
2022-05-06 09:06:41 +08:00
|
|
|
sitemap: {
|
2022-06-27 16:45:18 +08:00
|
|
|
changefreq: "weekly",
|
2022-05-06 09:06:41 +08:00
|
|
|
priority: 0.5,
|
2022-07-26 15:42:47 +08:00
|
|
|
filename: 'sitemap.xml',
|
|
|
|
},
|
|
|
|
googleAnalytics: {
|
|
|
|
trackingID: "G-MHMEL0F832",
|
|
|
|
anonymizeIP: true,
|
|
|
|
},
|
|
|
|
gtag: {
|
|
|
|
trackingID: 'G-MHMEL0F832',
|
|
|
|
anonymizeIP: true,
|
2022-05-06 09:06:41 +08:00
|
|
|
},
|
2022-01-12 15:43:01 +08:00
|
|
|
}),
|
|
|
|
],
|
|
|
|
],
|
2022-05-05 17:27:32 +08:00
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
id: "getting-started",
|
|
|
|
path: "wiki/getting-started",
|
|
|
|
routeBasePath: "getting-started",
|
2022-05-05 17:27:32 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-05-05 17:27:32 +08:00
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
id: "programming-language",
|
|
|
|
path: "wiki/programming-language",
|
|
|
|
routeBasePath: "programming-language",
|
2022-05-05 17:27:32 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-05-05 17:27:32 +08:00
|
|
|
},
|
|
|
|
],
|
2022-08-27 21:08:09 +08:00
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
id: "structures-algorithms",
|
|
|
|
path: "wiki/structures-algorithms",
|
|
|
|
routeBasePath: "structures-algorithms",
|
2022-08-27 21:08:09 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-08-27 21:08:09 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
|
|
|
},
|
|
|
|
],
|
2022-06-16 10:48:37 +08:00
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
id: "computer-composition",
|
|
|
|
path: "wiki/computer-composition",
|
|
|
|
routeBasePath: "computer-composition",
|
2022-06-16 10:48:37 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
id: "computer-network",
|
|
|
|
path: "wiki/computer-network",
|
|
|
|
routeBasePath: "computer-network",
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-10-25 12:07:38 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
|
|
|
id: "operating-system",
|
|
|
|
path: "wiki/operating-system",
|
|
|
|
routeBasePath: "operating-system",
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-10-25 12:07:38 +08:00
|
|
|
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"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-10-25 12:07:38 +08:00
|
|
|
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"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-10-25 12:07:38 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
|
|
|
id: "software-engineering",
|
|
|
|
path: "wiki/software-engineering",
|
|
|
|
routeBasePath: "software-engineering",
|
2022-06-16 10:48:37 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
],
|
2022-10-25 12:07:38 +08:00
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
|
|
|
id: "compilation-principle",
|
|
|
|
path: "wiki/compilation-principle",
|
|
|
|
routeBasePath: "compilation-principle",
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-10-25 12:07:38 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
// -----------------------------------------------------------------------------------
|
2022-06-16 10:48:37 +08:00
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2022-08-01 17:56:20 +08:00
|
|
|
id: "org",
|
|
|
|
path: "group/organization",
|
|
|
|
routeBasePath: "org",
|
2022-06-16 10:48:37 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2022-08-01 17:56:20 +08:00
|
|
|
id: "com",
|
|
|
|
path: "group/company",
|
|
|
|
routeBasePath: "com",
|
2022-06-16 10:48:37 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
],
|
2022-08-03 14:59:19 +08:00
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
|
|
|
id: "gov",
|
|
|
|
path: "group/government",
|
|
|
|
routeBasePath: "gov",
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-08-03 14:59:19 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
|
|
|
},
|
|
|
|
],
|
2022-10-25 12:07:38 +08:00
|
|
|
// -----------------------------------------------------------------------------------
|
2022-06-16 10:48:37 +08:00
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
id: "roadmap",
|
|
|
|
path: "work/roadmap",
|
|
|
|
routeBasePath: "roadmap",
|
2022-06-16 10:48:37 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2023-08-27 23:30:47 +08:00
|
|
|
id: "data-engineer",
|
|
|
|
path: "work/data-engineer",
|
|
|
|
routeBasePath: "data-engineer",
|
2022-06-16 10:48:37 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
],
|
2023-10-13 17:58:54 +08:00
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
|
|
|
id: "front-end-engineer",
|
|
|
|
path: "work/front-end-engineer",
|
|
|
|
routeBasePath: "front-end-engineer",
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
|
|
|
},
|
|
|
|
],
|
2022-06-16 10:48:37 +08:00
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
2023-08-27 23:30:47 +08:00
|
|
|
id: "sre-engineer",
|
|
|
|
path: "work/sre-engineer",
|
|
|
|
routeBasePath: "sre-engineer",
|
2022-10-25 12:07:38 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-10-25 12:07:38 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
// -----------------------------------------------------------------------------------
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
|
|
|
id: "life",
|
|
|
|
path: "life",
|
|
|
|
routeBasePath: "life",
|
2022-06-16 10:48:37 +08:00
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-06-27 16:45:18 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
2022-10-25 12:07:38 +08:00
|
|
|
],
|
|
|
|
// -----------------------------------------------------------------------------------
|
|
|
|
[
|
|
|
|
"@docusaurus/plugin-content-docs",
|
|
|
|
{
|
|
|
|
id: "journal",
|
|
|
|
path: "journal",
|
|
|
|
routeBasePath: "journal",
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-07-14 11:06:08 +08:00
|
|
|
editUrl: "https://git.7wate.org/zhouzhongping/wiki/src/branch/master",
|
2022-10-25 12:07:38 +08:00
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
breadcrumbs: false,
|
|
|
|
},
|
|
|
|
],
|
2022-12-28 17:18:44 +08:00
|
|
|
|
|
|
|
"docusaurus-plugin-umami",
|
2022-04-29 11:28:04 +08:00
|
|
|
],
|
2022-01-12 15:43:01 +08:00
|
|
|
themeConfig:
|
|
|
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
|
|
|
({
|
2022-01-13 14:01:57 +08:00
|
|
|
// announcementBar: {
|
|
|
|
// id: 'support_us',
|
|
|
|
// content:
|
2022-08-03 14:59:19 +08:00
|
|
|
// 'Always For Freedom. The site by 7Wate.',
|
2022-01-13 14:01:57 +08:00
|
|
|
// backgroundColor: '#fafbfc',
|
|
|
|
// textColor: '#091E42',
|
|
|
|
// isCloseable: false,
|
|
|
|
// },
|
2022-05-05 17:27:32 +08:00
|
|
|
metadata: [
|
|
|
|
{
|
|
|
|
name: "keywords",
|
2023-08-27 23:30:47 +08:00
|
|
|
content: "7wate, wiki, blog, python, linux",
|
2022-05-05 17:27:32 +08:00
|
|
|
},
|
|
|
|
],
|
2022-01-12 15:43:01 +08:00
|
|
|
navbar: {
|
2022-08-03 14:59:19 +08:00
|
|
|
title: "📚 7Wate's Wiki",
|
2022-05-05 17:27:32 +08:00
|
|
|
hideOnScroll: true,
|
2022-01-13 14:01:57 +08:00
|
|
|
// logo: {
|
|
|
|
// alt: 'Site Logo',
|
|
|
|
// src: 'img/logo.svg',
|
|
|
|
// srcDark: 'img/logo_dark.svg',
|
|
|
|
// href: 'https://docusaurus.io/',
|
|
|
|
// target: '_self',
|
|
|
|
// width: 32,
|
|
|
|
// height: 32,
|
|
|
|
// },
|
2022-01-12 15:43:01 +08:00
|
|
|
items: [
|
2022-06-16 10:48:37 +08:00
|
|
|
{ to: "/blog", label: "👨🏻🌾 博客", position: "right" },
|
2022-01-12 15:43:01 +08:00
|
|
|
{
|
2022-05-05 17:27:32 +08:00
|
|
|
position: "right",
|
2022-06-16 10:48:37 +08:00
|
|
|
label: "👨🏻🎓 维基",
|
|
|
|
items: [
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
label: "基础入门",
|
|
|
|
to: "/getting-started",
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
label: "程序设计语言",
|
|
|
|
to: "/programming-language",
|
2022-08-27 21:08:09 +08:00
|
|
|
},
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
label: "数据结构与算法",
|
|
|
|
to: "/structures-algorithms",
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
label: "计算机组成",
|
|
|
|
to: "/computer-composition",
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
label: "计算机网络",
|
|
|
|
to: "/computer-network",
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
2023-06-28 11:56:51 +08:00
|
|
|
{
|
|
|
|
label: "计算机安全",
|
|
|
|
to: "/computer-security",
|
|
|
|
},
|
2022-06-16 10:48:37 +08:00
|
|
|
{
|
2022-10-25 12:07:38 +08:00
|
|
|
label: "操作系统",
|
|
|
|
to: "/operating-system",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "数据库系统",
|
|
|
|
to: "/database-system",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "软件工程",
|
|
|
|
to: "/software-engineering",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "编译原理",
|
|
|
|
to: "/compilation-principle",
|
2022-06-16 10:48:37 +08:00
|
|
|
},
|
|
|
|
],
|
2022-01-12 15:43:01 +08:00
|
|
|
},
|
2022-10-25 12:07:38 +08:00
|
|
|
{
|
|
|
|
position: "right",
|
|
|
|
label: "👨💻 职业",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "求职之路",
|
|
|
|
to: "/roadmap",
|
|
|
|
},
|
|
|
|
{
|
2023-06-28 11:56:51 +08:00
|
|
|
label: "SRE 工程师",
|
2023-08-27 23:30:47 +08:00
|
|
|
to: "/sre-engineer",
|
2022-10-25 12:07:38 +08:00
|
|
|
},
|
|
|
|
{
|
2023-08-27 23:30:47 +08:00
|
|
|
label: "Data 工程师",
|
|
|
|
to: "/data-engineer",
|
2022-10-25 12:07:38 +08:00
|
|
|
},
|
2023-10-13 17:58:54 +08:00
|
|
|
{
|
|
|
|
label: "Front-End 工程师",
|
|
|
|
to: "/front-end-engineer",
|
|
|
|
},
|
2022-10-25 12:07:38 +08:00
|
|
|
]
|
|
|
|
},
|
2022-08-01 17:56:20 +08:00
|
|
|
{
|
|
|
|
position: "right",
|
|
|
|
label: "💼 组织",
|
|
|
|
items: [
|
|
|
|
{
|
2022-11-16 16:53:35 +08:00
|
|
|
label: "自由社区",
|
2022-08-01 17:56:20 +08:00
|
|
|
to: "/org",
|
|
|
|
},
|
|
|
|
{
|
2022-08-03 14:59:19 +08:00
|
|
|
label: "现代企业",
|
2022-08-01 17:56:20 +08:00
|
|
|
to: "/com",
|
|
|
|
},
|
2022-08-03 14:59:19 +08:00
|
|
|
{
|
|
|
|
label: "国家政府",
|
|
|
|
to: "/gov",
|
|
|
|
},
|
2022-08-01 17:56:20 +08:00
|
|
|
]
|
|
|
|
},
|
2022-06-16 10:48:37 +08:00
|
|
|
{ to: "/life", label: "🚴🏻♀️ 生活", position: "right" },
|
2022-08-24 15:41:17 +08:00
|
|
|
{ to: "/journal", label: "📽️ 日志", position: "right" },
|
2022-01-12 15:43:01 +08:00
|
|
|
],
|
|
|
|
},
|
2022-06-27 16:45:18 +08:00
|
|
|
algolia: {
|
|
|
|
apiKey: "5d5a02bdf02df700355c8ccd84b78d13",
|
|
|
|
appId: "8W3YJXJGF2",
|
|
|
|
indexName: "wiki",
|
|
|
|
},
|
2022-12-28 17:18:44 +08:00
|
|
|
umami: {
|
|
|
|
websiteid: "7efcd733-c232-43db-9f17-10a00c53b152",
|
2023-07-03 16:09:19 +08:00
|
|
|
src: "https://umami.7wate.org/script.js",
|
2022-12-28 17:18:44 +08:00
|
|
|
},
|
2022-01-12 15:43:01 +08:00
|
|
|
footer: {
|
2022-05-05 17:27:32 +08:00
|
|
|
style: "dark",
|
2022-02-25 08:52:21 +08:00
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} 7Wate, Inc. Built with <a href="https://www.docusaurus.cn/" target="_blank" rel="noopener noreferrer">Docusaurus</a>.<br>Powered by <a href="https://webify.cloudbase.net/" target="_blank" rel="noopener noreferrer">CloudBase Webify</a>`,
|
2022-01-12 15:43:01 +08:00
|
|
|
},
|
|
|
|
prism: {
|
|
|
|
theme: lightCodeTheme,
|
|
|
|
darkTheme: darkCodeTheme,
|
2022-05-05 17:27:32 +08:00
|
|
|
defaultLanguage: "markdown",
|
2022-08-31 15:59:07 +08:00
|
|
|
additionalLanguages: ["java", "git","nginx","http"],
|
2022-05-05 17:27:32 +08:00
|
|
|
},
|
2023-04-19 14:40:47 +08:00
|
|
|
mermaid: {
|
|
|
|
theme: {light: 'neutral', dark: 'forest'},
|
|
|
|
},
|
2022-01-12 15:43:01 +08:00
|
|
|
}),
|
2023-04-19 14:40:47 +08:00
|
|
|
markdown: {
|
|
|
|
mermaid: true,
|
|
|
|
},
|
|
|
|
themes: ['@docusaurus/theme-mermaid'],
|
2022-01-12 15:43:01 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = config;
|