1
0

项目:调整目录,更新 README

This commit is contained in:
周中平 2022-08-03 14:59:19 +08:00
parent 80e30c87dd
commit b69b1dce20
No known key found for this signature in database
GPG Key ID: B1DF9DD42D8E00DC
36 changed files with 65 additions and 34 deletions

View File

@ -1,6 +1,12 @@
# 7Wate 知识库 # 7Wate 知识库
![Alt](https://repobeats.axiom.co/api/embed/b6e6a199e422ce596ea7423372746b6debadaa7d.svg "Repobeats analytics image") > Always For Freedom.
>
> 一个喜欢异想天开的家伙 💨
>
> 在这里记录知识,希望对你也有帮助。
![站点首页](https://static.7wate.com/img/2022/08/03/6a2e91bd8ce1a.png)
## 目录 ## 目录
@ -10,8 +16,9 @@ Docuasurus
├─ blog博客 ├─ blog博客
├─ docs文档 ├─ docs文档
├─ group组织 ├─ group组织
│ ├─ 公司 │ ├─ company公司
│ └─ 社区 │ ├─ government国家
│ └─ organization社区
├─ life生活 ├─ life生活
├─ wiki维基 ├─ wiki维基
│ ├─ algo算法 │ ├─ algo算法
@ -22,11 +29,15 @@ Docuasurus
└─ work职业 └─ work职业
``` ```
## 贡献
![Alt](https://repobeats.axiom.co/api/embed/b6e6a199e422ce596ea7423372746b6debadaa7d.svg "Repobeats analytics image")
## 协议 ## 协议
- 本站所有**原创**内容,采用 [GPL-3.0](http://www.thebigfly.com/gnu/FDLv1.3/) 协议。 - 本站所有**原创**内容,采用 [GPL-3.0](http://www.thebigfly.com/gnu/FDLv1.3/) 协议。
- 本站所有**引用第三方**原创内容,所属**版权均归原作者**所有。如有侵权冒犯,请[邮件联系](mailto:admin@7wate.com)删除。 - 本站所有**引用第三方**原创内容,所属**版权均归原作者**所有。如有冒犯侵权,请[邮件联系](mailto:admin@7wate.com)删除。
- **Docusaurus** is [MIT licensed.](https://github.com/facebook/docusaurus/blob/main/LICENSE) - **Docusaurus** is [MIT licensed.](https://github.com/facebook/docusaurus/blob/main/LICENSE)

View File

@ -150,6 +150,19 @@ const config = {
breadcrumbs: false, breadcrumbs: false,
}, },
], ],
[
"@docusaurus/plugin-content-docs",
{
id: "gov",
path: "group/government",
routeBasePath: "gov",
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",
{ {
@ -194,11 +207,10 @@ const config = {
themeConfig: themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({ ({
// 公告
// announcementBar: { // announcementBar: {
// id: 'support_us', // id: 'support_us',
// content: // content:
// 'We are looking to revamp our docs, please fill <a target="_blank" rel="noopener noreferrer" href="#">this survey</a>', // 'Always For Freedom. The site by 7Wate.',
// backgroundColor: '#fafbfc', // backgroundColor: '#fafbfc',
// textColor: '#091E42', // textColor: '#091E42',
// isCloseable: false, // isCloseable: false,
@ -210,7 +222,7 @@ const config = {
}, },
], ],
navbar: { navbar: {
title: "📚 7Wate`s Wiki", title: "📚 7Wate's Wiki",
hideOnScroll: true, hideOnScroll: true,
// logo: { // logo: {
// alt: 'Site Logo', // alt: 'Site Logo',
@ -228,23 +240,23 @@ const config = {
label: "👨🏻‍🎓 维基", label: "👨🏻‍🎓 维基",
items: [ items: [
{ {
label: "开发", label: " 程序语言",
to: "/dev", to: "/dev",
}, },
{ {
label: "算法", label: "逻辑算法",
to: "/algo", to: "/algo",
}, },
{ {
label: "运维", label: "网络运维",
to: "/ops", to: "/ops",
}, },
{ {
label: "安全", label: "信息安全",
to: "/safe", to: "/safe",
}, },
{ {
label: "其他", label: "其他文档",
to: "/docs", to: "/docs",
}, },
], ],
@ -254,13 +266,17 @@ const config = {
label: "💼 组织", label: "💼 组织",
items: [ items: [
{ {
label: "社区", label: "开源社区",
to: "/org", to: "/org",
}, },
{ {
label: "企业", label: "现代企业",
to: "/com", to: "/com",
}, },
{
label: "国家政府",
to: "/gov",
},
] ]
}, },
{ to: "/work", label: "👨‍💻 职业", position: "right" }, { to: "/work", label: "👨‍💻 职业", position: "right" },

9
group/government/home.md Normal file
View File

@ -0,0 +1,9 @@
---
slug: /
sidebar_position: 1
id: home
title: 概述
---
国家政府

View File

@ -0,0 +1,8 @@
{
"label": "中国",
"position": 1,
"link": {
"type": "generated-index",
"title": "中国"
}
}

View File

@ -1,8 +1,8 @@
{ {
"label": "Git 协作规范", "label": "Git 协作",
"position": 2, "position": 2,
"link": { "link": {
"type": "generated-index", "type": "generated-index",
"title": "Git 协作规范" "title": "Git 协作"
} }
} }

View File

@ -1,8 +0,0 @@
{
"label": "中国国家标准",
"position": 5,
"link": {
"type": "generated-index",
"title": "中国国家标准"
}
}

View File

@ -1,8 +1,8 @@
{ {
"label": "技术文档规范", "label": "文档规范",
"position": 3, "position": 3,
"link": { "link": {
"type": "generated-index", "type": "generated-index",
"title": "技术文档规范" "title": "文档规范"
} }
} }

View File

@ -1,8 +0,0 @@
{
"label": "谷歌开源风格指南",
"position": 4,
"link": {
"type": "generated-index",
"title": "谷歌开源风格指南"
}
}

View File

@ -167,3 +167,6 @@ 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{
min-width: 7rem!important;
}