From b69b1dce20e589a37bf3b85f81e7ac5f9bd98500 Mon Sep 17 00:00:00 2001 From: 7Wate Date: Wed, 3 Aug 2022 14:59:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=EF=BC=9A=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=EF=BC=8C=E6=9B=B4=E6=96=B0=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 19 +++++++--- docusaurus.config.js | 36 +++++++++++++------ group/government/home.md | 9 +++++ group/government/中国国家标准/_category_.json | 8 +++++ .../中国国家标准/标准组织.md | 0 .../中国国家标准/法律合同.md | 0 .../_category_.json | 4 +-- .../交流反馈(Issue).md | 0 .../关于(Readme).md | 0 .../分支(Branch).md | 0 .../开源协议(License).md | 0 .../日志(Commit).md | 0 .../注释(Comments).md | 0 .../{Git 协作规范 => Git 协作}/版本(Tag).md | 0 .../贡献者协议(Contributing).md | 0 .../{开源入门 => Github}/GitHub 技巧.md | 0 .../谷歌开源项目风格指南.md | 0 .../腾讯代码安全指南/C,C++安全指南.md | 0 .../Tencent}/腾讯代码安全指南/Go安全指南.md | 0 .../腾讯代码安全指南/JavaScript安全指南.md | 0 .../Tencent}/腾讯代码安全指南/Java安全指南.md | 0 .../腾讯代码安全指南/Python安全指南.md | 0 .../腾讯代码安全指南/腾讯代码安全指南.md | 0 .../organization/中国国家标准/_category_.json | 8 ----- .../_category_.json | 4 +-- .../{技术文档规范 => 文档规范}/名称命名.md | 0 .../{技术文档规范 => 文档规范}/拼写与语法.md | 0 .../{技术文档规范 => 文档规范}/文档内容.md | 0 .../{技术文档规范 => 文档规范}/文档结构.md | 0 .../文档质量检查工具.md | 0 .../{技术文档规范 => 文档规范}/标点符号.md | 0 .../{技术文档规范 => 文档规范}/简介.md | 0 .../{技术文档规范 => 文档规范}/语言风格.md | 0 .../附录资料及相关说明.md | 0 .../谷歌开源风格指南/_category_.json | 8 ----- src/css/custom.css | 3 ++ 36 files changed, 65 insertions(+), 34 deletions(-) create mode 100644 group/government/home.md create mode 100644 group/government/中国国家标准/_category_.json rename group/{organization => government}/中国国家标准/标准组织.md (100%) rename group/{organization => government}/中国国家标准/法律合同.md (100%) rename group/organization/{Git 协作规范 => Git 协作}/_category_.json (52%) rename group/organization/{Git 协作规范 => Git 协作}/交流反馈(Issue).md (100%) rename group/organization/{Git 协作规范 => Git 协作}/关于(Readme).md (100%) rename group/organization/{Git 协作规范 => Git 协作}/分支(Branch).md (100%) rename group/organization/{Git 协作规范 => Git 协作}/开源协议(License).md (100%) rename group/organization/{Git 协作规范 => Git 协作}/日志(Commit).md (100%) rename group/organization/{Git 协作规范 => Git 协作}/注释(Comments).md (100%) rename group/organization/{Git 协作规范 => Git 协作}/版本(Tag).md (100%) rename group/organization/{Git 协作规范 => Git 协作}/贡献者协议(Contributing).md (100%) rename group/organization/{开源入门 => Github}/GitHub 技巧.md (100%) rename group/organization/{谷歌开源风格指南 => Google}/谷歌开源项目风格指南.md (100%) rename {wiki/safe => group/organization/Tencent}/腾讯代码安全指南/C,C++安全指南.md (100%) rename {wiki/safe => group/organization/Tencent}/腾讯代码安全指南/Go安全指南.md (100%) rename {wiki/safe => group/organization/Tencent}/腾讯代码安全指南/JavaScript安全指南.md (100%) rename {wiki/safe => group/organization/Tencent}/腾讯代码安全指南/Java安全指南.md (100%) rename {wiki/safe => group/organization/Tencent}/腾讯代码安全指南/Python安全指南.md (100%) rename {wiki/safe => group/organization/Tencent}/腾讯代码安全指南/腾讯代码安全指南.md (100%) delete mode 100644 group/organization/中国国家标准/_category_.json rename group/organization/{技术文档规范 => 文档规范}/_category_.json (51%) rename group/organization/{技术文档规范 => 文档规范}/名称命名.md (100%) rename group/organization/{技术文档规范 => 文档规范}/拼写与语法.md (100%) rename group/organization/{技术文档规范 => 文档规范}/文档内容.md (100%) rename group/organization/{技术文档规范 => 文档规范}/文档结构.md (100%) rename group/organization/{技术文档规范 => 文档规范}/文档质量检查工具.md (100%) rename group/organization/{技术文档规范 => 文档规范}/标点符号.md (100%) rename group/organization/{技术文档规范 => 文档规范}/简介.md (100%) rename group/organization/{技术文档规范 => 文档规范}/语言风格.md (100%) rename group/organization/{技术文档规范 => 文档规范}/附录资料及相关说明.md (100%) delete mode 100644 group/organization/谷歌开源风格指南/_category_.json diff --git a/README.md b/README.md index 4a2ccfe5..363588fc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ # 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(博客) ├─ docs(文档) ├─ group(组织) -│ ├─ 公司 -│ └─ 社区 +│ ├─ company(公司) +│ ├─ government(国家) +│ └─ organization(社区) ├─ life(生活) ├─ wiki(维基) │ ├─ algo(算法) @@ -22,11 +29,15 @@ Docuasurus └─ work(职业) ``` +## 贡献 + +![Alt](https://repobeats.axiom.co/api/embed/b6e6a199e422ce596ea7423372746b6debadaa7d.svg "Repobeats analytics image") + ## 协议 - 本站所有**原创**内容,采用 [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) diff --git a/docusaurus.config.js b/docusaurus.config.js index ff166c68..d64cd357 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -150,6 +150,19 @@ const config = { 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", { @@ -194,11 +207,10 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ - // 公告 // announcementBar: { // id: 'support_us', // content: - // 'We are looking to revamp our docs, please fill this survey', + // 'Always For Freedom. The site by 7Wate.', // backgroundColor: '#fafbfc', // textColor: '#091E42', // isCloseable: false, @@ -210,7 +222,7 @@ const config = { }, ], navbar: { - title: "📚 7Wate`s Wiki", + title: "📚 7Wate's Wiki", hideOnScroll: true, // logo: { // alt: 'Site Logo', @@ -228,23 +240,23 @@ const config = { label: "👨🏻‍🎓 维基", items: [ { - label: "开发", + label: " 程序语言", to: "/dev", }, { - label: "算法", + label: "逻辑算法", to: "/algo", }, { - label: "运维", + label: "网络运维", to: "/ops", }, { - label: "安全", + label: "信息安全", to: "/safe", }, { - label: "其他", + label: "其他文档", to: "/docs", }, ], @@ -254,13 +266,17 @@ const config = { label: "💼 组织", items: [ { - label: "社区", + label: "开源社区", to: "/org", }, { - label: "企业", + label: "现代企业", to: "/com", }, + { + label: "国家政府", + to: "/gov", + }, ] }, { to: "/work", label: "👨‍💻 职业", position: "right" }, diff --git a/group/government/home.md b/group/government/home.md new file mode 100644 index 00000000..c50451fe --- /dev/null +++ b/group/government/home.md @@ -0,0 +1,9 @@ +--- +slug: / +sidebar_position: 1 +id: home +title: 概述 +--- + + +国家政府 diff --git a/group/government/中国国家标准/_category_.json b/group/government/中国国家标准/_category_.json new file mode 100644 index 00000000..3a500d0f --- /dev/null +++ b/group/government/中国国家标准/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "中国", + "position": 1, + "link": { + "type": "generated-index", + "title": "中国" + } +} \ No newline at end of file diff --git a/group/organization/中国国家标准/标准组织.md b/group/government/中国国家标准/标准组织.md similarity index 100% rename from group/organization/中国国家标准/标准组织.md rename to group/government/中国国家标准/标准组织.md diff --git a/group/organization/中国国家标准/法律合同.md b/group/government/中国国家标准/法律合同.md similarity index 100% rename from group/organization/中国国家标准/法律合同.md rename to group/government/中国国家标准/法律合同.md diff --git a/group/organization/Git 协作规范/_category_.json b/group/organization/Git 协作/_category_.json similarity index 52% rename from group/organization/Git 协作规范/_category_.json rename to group/organization/Git 协作/_category_.json index ce5a103f..f54e4a07 100644 --- a/group/organization/Git 协作规范/_category_.json +++ b/group/organization/Git 协作/_category_.json @@ -1,8 +1,8 @@ { - "label": "Git 协作规范", + "label": "Git 协作", "position": 2, "link": { "type": "generated-index", - "title": "Git 协作规范" + "title": "Git 协作" } } \ No newline at end of file diff --git a/group/organization/Git 协作规范/交流反馈(Issue).md b/group/organization/Git 协作/交流反馈(Issue).md similarity index 100% rename from group/organization/Git 协作规范/交流反馈(Issue).md rename to group/organization/Git 协作/交流反馈(Issue).md diff --git a/group/organization/Git 协作规范/关于(Readme).md b/group/organization/Git 协作/关于(Readme).md similarity index 100% rename from group/organization/Git 协作规范/关于(Readme).md rename to group/organization/Git 协作/关于(Readme).md diff --git a/group/organization/Git 协作规范/分支(Branch).md b/group/organization/Git 协作/分支(Branch).md similarity index 100% rename from group/organization/Git 协作规范/分支(Branch).md rename to group/organization/Git 协作/分支(Branch).md diff --git a/group/organization/Git 协作规范/开源协议(License).md b/group/organization/Git 协作/开源协议(License).md similarity index 100% rename from group/organization/Git 协作规范/开源协议(License).md rename to group/organization/Git 协作/开源协议(License).md diff --git a/group/organization/Git 协作规范/日志(Commit).md b/group/organization/Git 协作/日志(Commit).md similarity index 100% rename from group/organization/Git 协作规范/日志(Commit).md rename to group/organization/Git 协作/日志(Commit).md diff --git a/group/organization/Git 协作规范/注释(Comments).md b/group/organization/Git 协作/注释(Comments).md similarity index 100% rename from group/organization/Git 协作规范/注释(Comments).md rename to group/organization/Git 协作/注释(Comments).md diff --git a/group/organization/Git 协作规范/版本(Tag).md b/group/organization/Git 协作/版本(Tag).md similarity index 100% rename from group/organization/Git 协作规范/版本(Tag).md rename to group/organization/Git 协作/版本(Tag).md diff --git a/group/organization/Git 协作规范/贡献者协议(Contributing).md b/group/organization/Git 协作/贡献者协议(Contributing).md similarity index 100% rename from group/organization/Git 协作规范/贡献者协议(Contributing).md rename to group/organization/Git 协作/贡献者协议(Contributing).md diff --git a/group/organization/开源入门/GitHub 技巧.md b/group/organization/Github/GitHub 技巧.md similarity index 100% rename from group/organization/开源入门/GitHub 技巧.md rename to group/organization/Github/GitHub 技巧.md diff --git a/group/organization/谷歌开源风格指南/谷歌开源项目风格指南.md b/group/organization/Google/谷歌开源项目风格指南.md similarity index 100% rename from group/organization/谷歌开源风格指南/谷歌开源项目风格指南.md rename to group/organization/Google/谷歌开源项目风格指南.md diff --git a/wiki/safe/腾讯代码安全指南/C,C++安全指南.md b/group/organization/Tencent/腾讯代码安全指南/C,C++安全指南.md similarity index 100% rename from wiki/safe/腾讯代码安全指南/C,C++安全指南.md rename to group/organization/Tencent/腾讯代码安全指南/C,C++安全指南.md diff --git a/wiki/safe/腾讯代码安全指南/Go安全指南.md b/group/organization/Tencent/腾讯代码安全指南/Go安全指南.md similarity index 100% rename from wiki/safe/腾讯代码安全指南/Go安全指南.md rename to group/organization/Tencent/腾讯代码安全指南/Go安全指南.md diff --git a/wiki/safe/腾讯代码安全指南/JavaScript安全指南.md b/group/organization/Tencent/腾讯代码安全指南/JavaScript安全指南.md similarity index 100% rename from wiki/safe/腾讯代码安全指南/JavaScript安全指南.md rename to group/organization/Tencent/腾讯代码安全指南/JavaScript安全指南.md diff --git a/wiki/safe/腾讯代码安全指南/Java安全指南.md b/group/organization/Tencent/腾讯代码安全指南/Java安全指南.md similarity index 100% rename from wiki/safe/腾讯代码安全指南/Java安全指南.md rename to group/organization/Tencent/腾讯代码安全指南/Java安全指南.md diff --git a/wiki/safe/腾讯代码安全指南/Python安全指南.md b/group/organization/Tencent/腾讯代码安全指南/Python安全指南.md similarity index 100% rename from wiki/safe/腾讯代码安全指南/Python安全指南.md rename to group/organization/Tencent/腾讯代码安全指南/Python安全指南.md diff --git a/wiki/safe/腾讯代码安全指南/腾讯代码安全指南.md b/group/organization/Tencent/腾讯代码安全指南/腾讯代码安全指南.md similarity index 100% rename from wiki/safe/腾讯代码安全指南/腾讯代码安全指南.md rename to group/organization/Tencent/腾讯代码安全指南/腾讯代码安全指南.md diff --git a/group/organization/中国国家标准/_category_.json b/group/organization/中国国家标准/_category_.json deleted file mode 100644 index 4f42f801..00000000 --- a/group/organization/中国国家标准/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "中国国家标准", - "position": 5, - "link": { - "type": "generated-index", - "title": "中国国家标准" - } -} \ No newline at end of file diff --git a/group/organization/技术文档规范/_category_.json b/group/organization/文档规范/_category_.json similarity index 51% rename from group/organization/技术文档规范/_category_.json rename to group/organization/文档规范/_category_.json index 849e4638..5498d1f7 100644 --- a/group/organization/技术文档规范/_category_.json +++ b/group/organization/文档规范/_category_.json @@ -1,8 +1,8 @@ { - "label": "技术文档规范", + "label": "文档规范", "position": 3, "link": { "type": "generated-index", - "title": "技术文档规范" + "title": "文档规范" } } \ No newline at end of file diff --git a/group/organization/技术文档规范/名称命名.md b/group/organization/文档规范/名称命名.md similarity index 100% rename from group/organization/技术文档规范/名称命名.md rename to group/organization/文档规范/名称命名.md diff --git a/group/organization/技术文档规范/拼写与语法.md b/group/organization/文档规范/拼写与语法.md similarity index 100% rename from group/organization/技术文档规范/拼写与语法.md rename to group/organization/文档规范/拼写与语法.md diff --git a/group/organization/技术文档规范/文档内容.md b/group/organization/文档规范/文档内容.md similarity index 100% rename from group/organization/技术文档规范/文档内容.md rename to group/organization/文档规范/文档内容.md diff --git a/group/organization/技术文档规范/文档结构.md b/group/organization/文档规范/文档结构.md similarity index 100% rename from group/organization/技术文档规范/文档结构.md rename to group/organization/文档规范/文档结构.md diff --git a/group/organization/技术文档规范/文档质量检查工具.md b/group/organization/文档规范/文档质量检查工具.md similarity index 100% rename from group/organization/技术文档规范/文档质量检查工具.md rename to group/organization/文档规范/文档质量检查工具.md diff --git a/group/organization/技术文档规范/标点符号.md b/group/organization/文档规范/标点符号.md similarity index 100% rename from group/organization/技术文档规范/标点符号.md rename to group/organization/文档规范/标点符号.md diff --git a/group/organization/技术文档规范/简介.md b/group/organization/文档规范/简介.md similarity index 100% rename from group/organization/技术文档规范/简介.md rename to group/organization/文档规范/简介.md diff --git a/group/organization/技术文档规范/语言风格.md b/group/organization/文档规范/语言风格.md similarity index 100% rename from group/organization/技术文档规范/语言风格.md rename to group/organization/文档规范/语言风格.md diff --git a/group/organization/技术文档规范/附录资料及相关说明.md b/group/organization/文档规范/附录资料及相关说明.md similarity index 100% rename from group/organization/技术文档规范/附录资料及相关说明.md rename to group/organization/文档规范/附录资料及相关说明.md diff --git a/group/organization/谷歌开源风格指南/_category_.json b/group/organization/谷歌开源风格指南/_category_.json deleted file mode 100644 index 7a64f609..00000000 --- a/group/organization/谷歌开源风格指南/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "谷歌开源风格指南", - "position": 4, - "link": { - "type": "generated-index", - "title": "谷歌开源风格指南" - } -} \ No newline at end of file diff --git a/src/css/custom.css b/src/css/custom.css index e245f1cd..321f8ec0 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -167,3 +167,6 @@ div[class^='announcementBar_'] { ::-webkit-scrollbar-thumb:window-inactive { background: rgba(255, 0, 0, 0.4); } +.dropdown__menu{ + min-width: 7rem!important; +}