diff --git a/blog/2019-05-28-first-blog-post.md b/blog/2019-05-28-first-blog-post.md
index 87f3c5f..b037268 100644
--- a/blog/2019-05-28-first-blog-post.md
+++ b/blog/2019-05-28-first-blog-post.md
@@ -6,7 +6,7 @@ authors:
title: 来自练习生基地,练习两年半,itBlog/iTBlogs/trainees项目维护者.
url: https://github.com/yangmufa
image_url: https://foruda.gitee.com/avatar/1677038032927319597/5149611_yangmufa_1578981240.png
-tags: [itBlog, ]
+tags: [itBlogUpdateLog,]
---
diff --git a/blog/2019-05-29-long-blog-post.md b/blog/2019-05-29-long-blog-post.md
index 295b5f0..f563e19 100644
--- a/blog/2019-05-29-long-blog-post.md
+++ b/blog/2019-05-29-long-blog-post.md
@@ -2,7 +2,7 @@
slug: long-blog-post
title: Long Blog Post
authors: [yangmufa,]
-tags: [itBlog]
+tags: [itBlogUpdateLog,]
---
This is the summary of a very long blog post,
diff --git a/blog/2021-08-01-mdx-blog-post.mdx b/blog/2021-08-01-mdx-blog-post.mdx
index 49dafdf..8fb7aac 100644
--- a/blog/2021-08-01-mdx-blog-post.mdx
+++ b/blog/2021-08-01-mdx-blog-post.mdx
@@ -2,7 +2,7 @@
slug: mdx-blog-post
title: MDX Blog Post
aauthors: [yangmufa,]
-tags: [itBlog]
+tags: [itBlogUpdateLog,]
---
Blog posts support [itBlog Markdown features](https://trainees.cn/itblog), such as [MDX](https://mdxjs.com/).
diff --git a/blog/2021-08-27-welcome/index.md b/blog/2021-08-27-welcome/index.md
index ee25f0a..97bcc30 100644
--- a/blog/2021-08-27-welcome/index.md
+++ b/blog/2021-08-27-welcome/index.md
@@ -2,7 +2,7 @@
slug: welcome
title: Welcome
authors: [yangmufa,]
-tags: [itBlog, itBlogs, trainees, 编程小马达]
+tags: [itBlogUpdateLog,]
---
[itBlog blogging features](https://trainees.cn/itblog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).
diff --git a/docs/c-and-cpp/C++.md b/docs/c-and-cpp/C++.md
new file mode 100644
index 0000000..de87f4f
--- /dev/null
+++ b/docs/c-and-cpp/C++.md
@@ -0,0 +1,6 @@
+---
+sidebar_position: 2
+---
+
+# C++
+
diff --git a/docs/c-and-cpp/C.md b/docs/c-and-cpp/C.md
new file mode 100644
index 0000000..87c21f2
--- /dev/null
+++ b/docs/c-and-cpp/C.md
@@ -0,0 +1,6 @@
+---
+sidebar_position: 1
+---
+
+# C
+
diff --git a/docs/c-sharp/CSharp.md b/docs/c-sharp/CSharp.md
new file mode 100644
index 0000000..f62ede1
--- /dev/null
+++ b/docs/c-sharp/CSharp.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 1
+---
+
+# CSharp
diff --git a/docs/c-sharp/DotNet8.md b/docs/c-sharp/DotNet8.md
new file mode 100644
index 0000000..82f2e67
--- /dev/null
+++ b/docs/c-sharp/DotNet8.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 2
+---
+
+# .Net8
diff --git a/docs/databases/SQL.md b/docs/databases/SQL.md
new file mode 100644
index 0000000..d80b3d5
--- /dev/null
+++ b/docs/databases/SQL.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 1
+---
+
+# SQL
diff --git a/docs/dev-ops/Jenkins.md b/docs/dev-ops/Jenkins.md
new file mode 100644
index 0000000..648e776
--- /dev/null
+++ b/docs/dev-ops/Jenkins.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 2
+---
+
+# Jenkins
diff --git a/docs/dev-ops/Linux.md b/docs/dev-ops/Linux.md
new file mode 100644
index 0000000..c43ceab
--- /dev/null
+++ b/docs/dev-ops/Linux.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 1
+---
+
+# Linux
diff --git a/docs/front-fnd/CSS.md b/docs/front-fnd/CSS.md
new file mode 100644
index 0000000..3ac46f3
--- /dev/null
+++ b/docs/front-fnd/CSS.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 2
+---
+
+# CSS3
diff --git a/docs/front-fnd/HTML.md b/docs/front-fnd/HTML.md
new file mode 100644
index 0000000..53e2a3f
--- /dev/null
+++ b/docs/front-fnd/HTML.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 1
+---
+
+# HTML5
diff --git a/docs/front-fnd/JavaScript.md b/docs/front-fnd/JavaScript.md
new file mode 100644
index 0000000..fd3eb1c
--- /dev/null
+++ b/docs/front-fnd/JavaScript.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 4
+---
+
+# JavaScript
diff --git a/docs/front-fnd/SCSS.md b/docs/front-fnd/SCSS.md
new file mode 100644
index 0000000..e7568a2
--- /dev/null
+++ b/docs/front-fnd/SCSS.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 3
+---
+
+# SCSS
diff --git a/docs/front-fnd/TypeScript.md b/docs/front-fnd/TypeScript.md
new file mode 100644
index 0000000..4b2e029
--- /dev/null
+++ b/docs/front-fnd/TypeScript.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 5
+---
+
+# TypeScript
diff --git a/docs/intro.md b/docs/intro/intro.md
similarity index 100%
rename from docs/intro.md
rename to docs/intro/intro.md
diff --git a/docs/intro/net-beans.md b/docs/intro/net-beans.md
new file mode 100644
index 0000000..9580b7e
--- /dev/null
+++ b/docs/intro/net-beans.md
@@ -0,0 +1,47 @@
+---
+sidebar_position: 1
+---
+
+# Tutorial Intro
+
+Let's discover **itBlog in less than 5 minutes**.
+
+## Getting Started
+
+Get started by **creating a new site**.
+
+Or **try itBlog immediately** with **[itBLog](https://yangmufa.com)**.
+
+### What you'll need
+
+- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
+ - When installing Node.js, you are recommended to check all checkboxes related to dependencies.
+
+## Generate a new site
+
+Generate a new itBlog site using the **classic template**.
+
+The classic template will automatically be added to your project after you run the command:
+
+```bash
+npm init docusaurus@latest my-website classic
+```
+
+You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
+
+The command also installs all necessary dependencies you need to run itBlog.
+
+## Start your site
+
+Run the development server:
+
+```bash
+cd my-website
+npm run start
+```
+
+The `cd` command changes the directory you're working with. In order to work with your newly created itBlog site, you'll need to navigate the terminal there.
+
+The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
+
+Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
diff --git a/docs/tutorial-basics/_category_.json b/docs/intro/tutorial-basics/_category_.json
similarity index 100%
rename from docs/tutorial-basics/_category_.json
rename to docs/intro/tutorial-basics/_category_.json
diff --git a/docs/tutorial-basics/congratulations.md b/docs/intro/tutorial-basics/congratulations.md
similarity index 100%
rename from docs/tutorial-basics/congratulations.md
rename to docs/intro/tutorial-basics/congratulations.md
diff --git a/docs/tutorial-basics/create-a-blog-post.md b/docs/intro/tutorial-basics/create-a-blog-post.md
similarity index 100%
rename from docs/tutorial-basics/create-a-blog-post.md
rename to docs/intro/tutorial-basics/create-a-blog-post.md
diff --git a/docs/tutorial-basics/create-a-document.md b/docs/intro/tutorial-basics/create-a-document.md
similarity index 100%
rename from docs/tutorial-basics/create-a-document.md
rename to docs/intro/tutorial-basics/create-a-document.md
diff --git a/docs/tutorial-basics/create-a-page.md b/docs/intro/tutorial-basics/create-a-page.md
similarity index 100%
rename from docs/tutorial-basics/create-a-page.md
rename to docs/intro/tutorial-basics/create-a-page.md
diff --git a/docs/tutorial-basics/deploy-your-site.md b/docs/intro/tutorial-basics/deploy-your-site.md
similarity index 100%
rename from docs/tutorial-basics/deploy-your-site.md
rename to docs/intro/tutorial-basics/deploy-your-site.md
diff --git a/docs/tutorial-basics/markdown-features.mdx b/docs/intro/tutorial-basics/markdown-features.mdx
similarity index 100%
rename from docs/tutorial-basics/markdown-features.mdx
rename to docs/intro/tutorial-basics/markdown-features.mdx
diff --git a/docs/tutorial-extras/_category_.json b/docs/intro/tutorial-extras/_category_.json
similarity index 100%
rename from docs/tutorial-extras/_category_.json
rename to docs/intro/tutorial-extras/_category_.json
diff --git a/docs/tutorial-extras/img/docsVersionDropdown.png b/docs/intro/tutorial-extras/img/docsVersionDropdown.png
similarity index 100%
rename from docs/tutorial-extras/img/docsVersionDropdown.png
rename to docs/intro/tutorial-extras/img/docsVersionDropdown.png
diff --git a/docs/tutorial-extras/img/localeDropdown.png b/docs/intro/tutorial-extras/img/localeDropdown.png
similarity index 100%
rename from docs/tutorial-extras/img/localeDropdown.png
rename to docs/intro/tutorial-extras/img/localeDropdown.png
diff --git a/docs/tutorial-extras/manage-docs-versions.md b/docs/intro/tutorial-extras/manage-docs-versions.md
similarity index 95%
rename from docs/tutorial-extras/manage-docs-versions.md
rename to docs/intro/tutorial-extras/manage-docs-versions.md
index 521efc9..24c712b 100644
--- a/docs/tutorial-extras/manage-docs-versions.md
+++ b/docs/intro/tutorial-extras/manage-docs-versions.md
@@ -45,7 +45,7 @@ export default {
The docs version dropdown appears in your navbar:
-![Docs Version Dropdown](./img/docsVersionDropdown.png)
+![Docs Version Dropdown](img/docsVersionDropdown.png)
## Update an existing version
diff --git a/docs/tutorial-extras/translate-your-site.md b/docs/intro/tutorial-extras/translate-your-site.md
similarity index 97%
rename from docs/tutorial-extras/translate-your-site.md
rename to docs/intro/tutorial-extras/translate-your-site.md
index 7c31e31..db8f3cd 100644
--- a/docs/tutorial-extras/translate-your-site.md
+++ b/docs/intro/tutorial-extras/translate-your-site.md
@@ -71,7 +71,7 @@ export default {
The locale dropdown now appears in your navbar:
-![Locale Dropdown](./img/localeDropdown.png)
+![Locale Dropdown](img/localeDropdown.png)
## Build your localized site
diff --git a/docs/java/JDK8.md b/docs/java/JDK8.md
new file mode 100644
index 0000000..9c3d3fd
--- /dev/null
+++ b/docs/java/JDK8.md
@@ -0,0 +1,5 @@
+---
+sidebar_position: 1
+---
+
+# JDK8
diff --git "a/docs/middleware/\346\266\210\346\201\257\344\270\255\351\227\264\344\273\266/RabbitMQ.md" "b/docs/middleware/\346\266\210\346\201\257\344\270\255\351\227\264\344\273\266/RabbitMQ.md"
new file mode 100644
index 0000000..fbc9388
--- /dev/null
+++ "b/docs/middleware/\346\266\210\346\201\257\344\270\255\351\227\264\344\273\266/RabbitMQ.md"
@@ -0,0 +1,5 @@
+---
+sidebar_position: 1
+---
+
+# RabbitMQ
diff --git a/docs/net-beans/JetBrains/ Rider.md b/docs/net-beans/JetBrains/ Rider.md
new file mode 100644
index 0000000..35ad36a
--- /dev/null
+++ b/docs/net-beans/JetBrains/ Rider.md
@@ -0,0 +1,9 @@
+
+
+# Rider
+
+```tex
+// 格式化代码{}不换行
+1.File→Settings→Editor→CodeStyle→C#/JavaScript→BracesLayout→Method declaration/Index inside namespace declaration/...→选择【At end of line (K&R style)】
+2.1.File→New Projects Setup→Settings for New Projects→Editor→CodeStyle→C#/JavaScript→BracesLayout→Method declaration/Index inside namespace declaration/...→选择【At end of line (K&R style)】
+```
diff --git a/docs/net-beans/JetBrains/ WebStorm.md b/docs/net-beans/JetBrains/ WebStorm.md
new file mode 100644
index 0000000..4e2decc
--- /dev/null
+++ b/docs/net-beans/JetBrains/ WebStorm.md
@@ -0,0 +1,3 @@
+
+
+# WebStorm
diff --git a/docs/net-beans/JetBrains/IntelliJ IDEA.md b/docs/net-beans/JetBrains/IntelliJ IDEA.md
new file mode 100644
index 0000000..354dcd5
--- /dev/null
+++ b/docs/net-beans/JetBrains/IntelliJ IDEA.md
@@ -0,0 +1,5 @@
+
+
+# IntelliJ IDEA
+
+
diff --git a/docs/net-beans/JetBrains/index.md b/docs/net-beans/JetBrains/index.md
new file mode 100644
index 0000000..e54c6f8
--- /dev/null
+++ b/docs/net-beans/JetBrains/index.md
@@ -0,0 +1,44 @@
+
+
+# Jetbrains
+
+### 通用快捷键
+
+###
+
+```tex
+Ctrl + R 当前文件文本内容 查找/替换
+Ctrl + Shift + R 当前项目/文件文本内容 查找/替换
+双击 Shift 搜索文件
+
+```
+
+
+
+### ShortcutKey
+
+https://mp.weixin.qq.com/s?__biz=MzIwMTY0NDU3Nw==&mid=2651966650&idx=1&sn=83772932e5851bafcdcce206b0c75ebc&chksm=8d0fa3f4ba782ae2129565f815c262a6027c1b56495d8ec8fa8669336fd732d92e383caf6104&scene=132&exptype=timeline_recommend_article_extendread_samebiz#wechat_redirect
+
+```markdown
+# ctrl + r
+当前文件内容替换,指的是在当前打开的文件中替换匹配的字符,只操作一个文件。
+# ctrl + shift + r
+在路径中替换,指的是在选定的目录下或者类包下,查找要被替换的字符,再在第二个输入框中输入要替换的字符,点击弹出框的右下角的replace或者replaceall即可。
+# ctrl + f
+当前文件内容查找,指的是在当前打开的文件中查找匹配的字符,只操作一个文件。
+# shift + shift
+按兩下shift 非常强大,可搜索类、资源、配置项、方法等,还能搜索路径。其中搜索路径非常实用,例如你写了一个功能叫hello,在java,js,css,jsp中都有hello的文件夹,那我们可以搜索"hello/"找到路径中包含hello的文件夹。
+
+
+
+```
+
+
+
+### Plugins
+
+#### `GitToolBox`
+
+```tex
+想要在每次光标点击后,光标右侧都会出现 git commit 信息,去setting->Plugins-> GitToolBox->Installed重启 即可。`
+```
diff --git a/docs/net-beans/Markdon.md b/docs/net-beans/Markdon.md
new file mode 100644
index 0000000..d2573d6
--- /dev/null
+++ b/docs/net-beans/Markdon.md
@@ -0,0 +1,47 @@
+---
+sidebar_position: 2
+---
+
+# Markdon
+
+Let's discover **itBlog in less than 5 minutes**.
+
+## Getting Started
+
+Get started by **creating a new site**.
+
+Or **try itBlog immediately** with **[itBLog](https://yangmufa.com)**.
+
+### What you'll need
+
+- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
+ - When installing Node.js, you are recommended to check all checkboxes related to dependencies.
+
+## Generate a new site
+
+Generate a new itBlog site using the **classic template**.
+
+The classic template will automatically be added to your project after you run the command:
+
+```bash
+npm init docusaurus@latest my-website classic
+```
+
+You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
+
+The command also installs all necessary dependencies you need to run itBlog.
+
+## Start your site
+
+Run the development server:
+
+```bash
+cd my-website
+npm run start
+```
+
+The `cd` command changes the directory you're working with. In order to work with your newly created itBlog site, you'll need to navigate the terminal there.
+
+The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
+
+Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
diff --git a/docs/net-beans/Notepad.md b/docs/net-beans/Notepad.md
new file mode 100644
index 0000000..fedbbf1
--- /dev/null
+++ b/docs/net-beans/Notepad.md
@@ -0,0 +1,20 @@
+---
+sidebar_position: 1
+---
+
+# Notepad
+
+
+### `删除关键词所在的行`
+
+```markdown
+1、按组合键Ctrl + F,查找模式选择 '正则表达式',不选 '.匹配新行'
+
+2、查找目标输入 :
+
+ ^.*关键字.*\r?\n (不保留空行)
+ ^.*关键字.*$ (保留空行)
+
+3、替换为:(空)
+```
+
diff --git a/docs/net-beans/VSCode.md b/docs/net-beans/VSCode.md
new file mode 100644
index 0000000..a40d246
--- /dev/null
+++ b/docs/net-beans/VSCode.md
@@ -0,0 +1,47 @@
+---
+sidebar_position: 3
+---
+
+# VSCoode
+
+Let's discover **itBlog in less than 5 minutes**.
+
+## Getting Started
+
+Get started by **creating a new site**.
+
+Or **try itBlog immediately** with **[itBLog](https://yangmufa.com)**.
+
+### What you'll need
+
+- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
+ - When installing Node.js, you are recommended to check all checkboxes related to dependencies.
+
+## Generate a new site
+
+Generate a new itBlog site using the **classic template**.
+
+The classic template will automatically be added to your project after you run the command:
+
+```bash
+npm init docusaurus@latest my-website classic
+```
+
+You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
+
+The command also installs all necessary dependencies you need to run itBlog.
+
+## Start your site
+
+Run the development server:
+
+```bash
+cd my-website
+npm run start
+```
+
+The `cd` command changes the directory you're working with. In order to work with your newly created itBlog site, you'll need to navigate the terminal there.
+
+The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
+
+Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 100a0f4..f97447f 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -74,54 +74,91 @@ const config: Config = {
src: 'img/itBlogLogo.png',
},
items: [
- // {to: '/blog', label: 'Blogs', position: 'left'},
{
- type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
- position: 'left',
- label: 'IDE/Markdon',
+ /*
+ docSidebar:用于直接链接到文档的特定部分或章节,可以指定 sidebarId 和 docId 或 path 来精确地导航到目标页面。
+ link:用于添加一个简单的外部链接,例如链接到其他网站或资源。示例:
+ { type: 'link', label: 'External Site', href: 'https://example.com' }
+ dropdown:用于创建一个下拉菜单,包含多个链接选项。示例:
+ {
+ type: 'dropdown',
+ label: 'Dropdown',
+ items: [
+ { label: 'Item 1', href: '/item-1' },
+ { label: 'Item 2', href: '/item-2' }
+ ]
+ }
+ localeDropdown:用于创建一个语言切换的下拉菜单,适用于多语言网站。示例:
+ {
+ type: 'localeDropdown',
+ position: 'right'
+ }
+ search:用于添加一个搜索框到导航栏,方便用户搜索文档或网站内容。示例:
+ { type: 'search', position: 'right' }
+ */
+ type: 'docSidebar', //指定导航栏中的链接类型,和指向文档侧边栏的导航项,
+ sidebarId: 'netbeansSidebar', //指定了链接将导航到 ID 为 netbeansSidebar 的侧边栏,该内容定义在了根目录下的sidebars.ts文件中
+ activeBasePath: 'docs/net-beans', //指定当前活动链接的基本路径,高亮显示当前页面在导航栏中的链接
+ position: 'left', //显示在导航栏左边
+ label: 'ide/markdon', //显示的名字文本
+ // to:"/docs/net-beans/", //指向文档侧边栏的导航项,r如果配置了type: 'docSidebar'此项就是多余的
},
{
type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
+ sidebarId: 'frontfndSidebar',
+ activeBasePath: '/docs/front-fnd',
position: 'left',
label: 'FrontFnd',
+ // to:"/docs/front-fnd/",
},
{
type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
+ sidebarId: 'candcppSidebar',
+ activeBasePath: '/docs/c-and-cpp',
position: 'left',
label: 'C/C++',
+ // to:"/docs/c-and-cpp",
+
},
{
type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
+ sidebarId: 'csharpSidebar',
+ activeBasePath: '/docs/c-sharp',
position: 'left',
label: 'C#',
+ // to:"/docs/c-sharp",
},
{
type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
+ sidebarId: 'javaSidebar',
+ activeBasePath: '/docs/java',
position: 'left',
label: 'Java',
+ // to:"/docs/java",
},
{
type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
+ sidebarId: 'middlewareSidebar',
+ activeBasePath: '/docs/middleware',
position: 'left',
label: 'Middleware',
+ // to:"/docs/middleware",
},
{
type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
+ sidebarId: 'databaseSidebar',
+ activeBasePath: '/docs/databases',
position: 'left',
- label: 'Database',
+ label: 'Databases',
+ // to:"/docs/databases",
},
{
type: 'docSidebar',
- sidebarId: 'tutorialSidebar',
+ sidebarId: 'devopsSidebar',
+ activeBasePath: '/docs/dev-ops',
position: 'left',
label: 'DevOps',
+ // to:"/docs/dev-ops",
},
{
href: 'https://www.trainees.cn/itblogs',
@@ -148,7 +185,6 @@ const config: Config = {
],
},
{
- activeBasePath: 'docs',
label: 'About',
position: 'right',
items: [
@@ -158,7 +194,7 @@ const config: Config = {
},
{
label: '关于本站',
- to: '/',
+ to: '/docs/intro/',
},
{
label: '本站教程',
@@ -179,14 +215,35 @@ const config: Config = {
title: '文档',
items: [
{
- label: '本站教程 ',
- to: '/docs/intro',
+ to: '/blog',
+ label: '更新日志',
+ },
+ {
+ sidebarId:"introSidebar",
+ label: '关于本站',
+ to: '/docs/intro/',
+ },
+ {
+ label: '本站教程',
+ href: 'https://www.trainees.cn/tutorial/itblog',
},
],
},
{
title: '社区',
items: [
+ {
+ label: 'BUG反馈',
+ href: 'https://www.trainees.cn',
+ },
+ {
+ label: '功能建议',
+ href: 'https://www.trainees.cn',
+ },
+ {
+ label: '请求帮助',
+ href: 'https://www.trainees.cn',
+ },
{
label: '练习生基地',
href: 'https://www.trainees.cn',
@@ -197,6 +254,19 @@ const config: Config = {
},
],
},
+ {
+ title: '开源',
+ items: [
+ {
+ label: '开源协议',
+ href: 'https://opensource.fb.com/legal/terms',
+ },
+ {
+ label: '隐私政策',
+ href: 'https://opensource.fb.com/legal/terms',
+ },
+ ],
+ },
{
title: '更多',
items: [
@@ -205,20 +275,20 @@ const config: Config = {
href: 'https://douyin.com/share/user/MS4wLjABAAAASZvD7peE5rlh0muipm9lMFGYJ12SnY9j2qs4iVOCt14',
},
{
- label: 'CSDN',
- href: 'https://blog.csdn.net/qq_36823679',
- },
- {
- label: '开源中国',
- href: 'https://my.oschina.net/yangmufa',
+ label: '微博',
+ href: 'https://weibo.com/yangmufa',
},
{
label: '知乎',
href: 'https://www.zhihu.com/people/yangmufa',
},
{
- label: '微博',
- href: 'https://weibo.com/yangmufa',
+ label: 'CSDN',
+ href: 'https://blog.csdn.net/qq_36823679',
+ },
+ {
+ label: '开源中国',
+ href: 'https://my.oschina.net/yangmufa',
},
],
},
diff --git a/package.json b/package.json
index 77854f6..7508b99 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,6 @@
"dependencies": {
"@docusaurus/core": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
- "@docusaurus/theme-search-algolia": "^3.4.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"lunr": "^2.3.9",
diff --git a/sidebars.ts b/sidebars.ts
index c29a349..5af7692 100644
--- a/sidebars.ts
+++ b/sidebars.ts
@@ -11,8 +11,17 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
Create as many sidebars as you want.
*/
const sidebars: SidebarsConfig = {
+
// By default, itBlog generates a sidebar from the docs folder structure
- tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
+ introSidebar: [{type: 'autogenerated', dirName: 'intro'}],
+ netbeansSidebar: [{type: 'autogenerated', dirName: 'net-beans'}],
+ frontfndSidebar: [{type: 'autogenerated', dirName: 'front-fnd'}],
+ candcppSidebar: [{type: 'autogenerated', dirName: 'c-and-cpp'}],
+ csharpSidebar: [{type: 'autogenerated', dirName: 'c-sharp'}],
+ javaSidebar: [{type: 'autogenerated', dirName: 'java'}],
+ middlewareSidebar: [{type: 'autogenerated', dirName: 'middleware'}],
+ databaseSidebar: [{type: 'autogenerated', dirName: 'databases'}],
+ devopsSidebar: [{type: 'autogenerated', dirName: 'dev-ops'}],
// But you can create a sidebar manually
/*
diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx
index a2aca6c..6f12178 100644
--- a/src/components/HomepageFeatures/index.tsx
+++ b/src/components/HomepageFeatures/index.tsx
@@ -14,7 +14,9 @@ const FeatureList: FeatureItem[] = [
Svg: require('@site/static/img/undraw_structural.svg').default,
description: (
<>
- itBlog
的设计从地面开始就很容易安装和用来让你的网站快速启动和运行。
+ itBlog
的设计无论从那方面开始都很容易理解和记忆,
+ 受大树的启发,通过自顶向下方式把知识以树形结构的形式来组织成文,避免了混乱和繁杂,
+ 加快记忆和查询时间,降低学习和工作成本。
>
),
},
@@ -23,7 +25,7 @@ const FeatureList: FeatureItem[] = [
Svg: require('@site/static/img/undraw_concentration.svg').default,
description: (
<>
- itBlog
的定位是只专注于编程领域的基础知识和场景应用。
+ itBlog
的定位是只专注于编程领域的基础知识和场景应用的静态资源文档,开盖即食的懒人(高效)精神,减去繁杂的内容和功能,使得内容更加纯粹和营养。
>
),
},
@@ -32,8 +34,8 @@ const FeatureList: FeatureItem[] = [
Svg: require('@site/static/img/undraw_react.svg').default,
description: (
<>
- 通过重用React扩展或自定义网站布局,
- 让基于Docusaurus的 itBlog
可以重复使用相同的页眉和页脚时进行扩展。
+ 通过React构建并重用扩展或自定义网站布局,
+ 让基于Docusaurus框架的 itBlog
可以重复使用相同的页眉和页脚进行扩展。
>
),
},
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 833d0c9..5e54b0c 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -20,7 +20,7 @@ function HomepageHeader() {
- 学习 itBlog - 5分钟⏱️
+ 花5分钟⏱️了解itBlog