Skip to content

Commit

Permalink
修改标题栏
Browse files Browse the repository at this point in the history
  • Loading branch information
DevCaikun committed Sep 13, 2024
1 parent 4d3b4e6 commit ebc3a8d
Show file tree
Hide file tree
Showing 173 changed files with 109 additions and 89 deletions.
6 changes: 6 additions & 0 deletions docs/Algorithms/数据结构与算法.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
sidebar_position: 1
---

# 数据结构与算法

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ myChart.resize(); //方重新调整图表的尺寸以适应容器的变化,当
// 在 HTML 文件中引入 ECharts 的 JavaScript 库文件:
<script src="https://cdn.jsdelivr.net/npm/echarts@5.2.1/dist/echarts.min.js"></script>
// vue3项目中JavaScript引入ECharts:
import * as echarts from 'docs/front-fnd/VueEcology/ECharts/ECharts';
import * as echarts from 'docs/FrontFnd/VueEcology/ECharts/ECharts';

// 准备容器:在 HTML 中创建一个容器元素,用于承载图表的展示:
<div id="chart-container" style="width: 500px; height: 300px;"></div>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ It is also possible to create your sidebar explicitly in `sidebars.js`:
```js title="sidebars.js"
export default {
tutorialSidebar: [
'intro',
'Intro',
// highlight-next-line
'hello',
{
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Copy the `docs/intro.md` file to the `i18n/fr` folder:
```bash
mkdir -p i18n/fr/itBlog-plugin-content-docs/current/

cp docs/intro.md i18n/fr/itBlog-plugin-content-docs/current/intro.md
cp docs/Intro.md i18n/fr/itBlog-plugin-content-docs/current/Intro.md
```

Translate `i18n/fr/docusaurus-plugin-content-docs/current/intro.md` in French.
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions docs/java/JDK11.md → docs/Java/JDK11.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ export PATH=${JAVA_HOME}/bin:$PATH
source /etc/profile

# 验证是否安装成功,查看当前 jdk 版本信息:
java -version
Java -version
```

RockyLinux9运行

```shell
# 运行jar
nohup java -jar /app/traineesbase/Surfer-1.0.0.jar -Xms200m -Xmx200m --spring.profiles.active=prod > /dev/null 2>&1 &
nohup java -jar /app/traineesbase/Surfer-1.0.0.jar -Xms200m -Xmx200m --spring.profiles.active=prod > output.log 2>&1 &
java -jar /app/traineesbase/Surfer-1.0.0.jar --spring.profiles.active=prod
nohup Java -jar /app/traineesbase/Surfer-1.0.0.jar -Xms200m -Xmx200m --spring.profiles.active=prod > /dev/null 2>&1 &
nohup Java -jar /app/traineesbase/Surfer-1.0.0.jar -Xms200m -Xmx200m --spring.profiles.active=prod > output.log 2>&1 &
Java -jar /app/traineesbase/Surfer-1.0.0.jar --spring.profiles.active=prod
# 查看java运行情况
ps -ef | grep Surfer
# 杀死进程/结束jar运行
Expand Down
2 changes: 1 addition & 1 deletion docs/java/JDK21.md → docs/Java/JDK21.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export CLASSPATH=.:$JAVA_HOME/lib
export PATH=.:$JAVA_HOME/bin:$JAVA_HOME/lib:$PATH
#刷新配置文件
source /etc/profil
java -version # 测试
Java -version # 测试
```

#### POJO
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ docker ps -a # 查看运行和未运行的容器(容器即镜像的实例)
docker rm id # 删除单个容器
docker rm $(docker images -q) # 删除所有的容器

docker system prune -a # 删除所有 镜像和容器
docker Systems prune -a # 删除所有 镜像和容器

docker save -o image.tar <镜像名称:标签> # 把镜像下载到Windows本地,不指定下载路径默认C:\ProgramData\Docker\windowsfilter
docker save -o E:\path\to\save\image.tar <镜像名称:标签> # 把镜像下载到Windows本地指定文件夹
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ loglevel notice

logfile ""

databases 30
Databases 30

always-show-logo yes

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
149 changes: 81 additions & 68 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ const config: Config = {
defaultLocale: 'zh-Hans',
locales: ['zh-Hans', ],
// localeConfigs: {
// en: {
// htmlLang: 'en-GB',
// },
// // 如果不需要重写默认值,可以忽略 locale (例如 fr)
// zh: {
// direction: 'rtl',
// },
// en: {
// htmlLang: 'en-GB',
// },
// 如果不需要重写默认值,可以忽略 locale (例如 fr)
// zh: {
// direction: 'rtl',
// },
// },
},

Expand Down Expand Up @@ -87,10 +87,10 @@ const config: Config = {
// activeBasePath: '/blog',
// position: 'left',
// label: 'blog',
// // to:"/docs/front-fnd/",
// // to:"/docs/FrontFnd/",
// },
{
/*
/* 用法说明
docSidebar:用于直接链接到文档的特定部分或章节,可以指定 sidebarId 和 docId 或 path 来精确地导航到目标页面。
link:用于添加一个简单的外部链接,例如链接到其他网站或资源。示例:
{ type: 'link', label: 'External Site', href: 'https://example.com' }
Expand All @@ -112,113 +112,126 @@ const config: Config = {
{ type: 'search', position: 'right' }
*/
type: 'docSidebar', //指定导航栏中的链接类型,和指向文档侧边栏的导航项,
sidebarId: 'javaSidebar', //指定了链接将导航到 ID 为 netbeansSidebar 的侧边栏,该内容定义在了根目录下的sidebars.ts文件中
activeBasePath: '/docs/java', //指定当前活动链接的基本路径,高亮显示当前页面在导航栏中的链接
sidebarId: 'CCppSidebar', //指定了链接将导航到 ID 为 CCppSidebar 的侧边栏,该内容定义在了根目录下的sidebars.ts文件中
activeBasePath: '/docs/CCpp', //指定当前活动链接的基本路径,高亮显示当前页面在导航栏中的链接
position: 'left', //显示在导航栏左边
label: 'Java', //显示的名字文本
// to:"/docs/java", //指向文档侧边栏的导航项,r如果配置了type: 'docSidebar'此项就是多余的
label: 'C/C++', //显示的名字文本
// to:"/docs/CCpp", //指向文档侧边栏的导航项,r如果配置了type: 'docSidebar'此项就是多余的
},
{
type: 'docSidebar',
sidebarId: 'csharpSidebar',
activeBasePath: '/docs/c-sharp',
sidebarId: 'CSharpSidebar',
activeBasePath: '/docs/CSharp',
position: 'left',
label: 'C#',
// to:"/docs/c-sharp",
// to:"/docs/CSharp",
},
// {
// type: 'docSidebar',
// sidebarId: 'candcppSidebar',
// activeBasePath: '/docs/c-and-cpp',
// position: 'left',
// label: 'C/C++',
// // to:"/docs/c-and-cpp",
//
// },
// {
// type: 'docSidebar',
// sidebarId: 'structuresAlgorithmsSidebar',
// activeBasePath: '/docs/structures-algorithms',
// position: 'left',
// label: 'Structures/Algorithms',
// // to:"/docs/structures-algorithms",
// },
{
type: 'docSidebar',
sidebarId: 'middlewareSidebar',
activeBasePath: '/docs/middleware',
sidebarId: 'JavaSidebar',
activeBasePath: '/docs/Java',
position: 'left',
label: 'Java',
// to:"/docs/Java",
},
{
type: 'docSidebar',
sidebarId: 'MiddlewareSidebar',
activeBasePath: '/docs/Middleware',
position: 'left',
label: 'Middleware',
// to:"/docs/middleware",
// to:"/docs/Middleware",
},
{
type: 'docSidebar',
sidebarId: 'databaseSidebar',
activeBasePath: '/docs/databases',
sidebarId: 'DatabasesSidebar',
activeBasePath: '/docs/Databases',
position: 'left',
label: 'Databases',
// to:"/docs/databases",
// to:"/docs/Databases",
},
{
type: 'docSidebar',
sidebarId: 'devopsSidebar',
activeBasePath: '/docs/dev-ops',
sidebarId: 'DevOpsSidebar',
activeBasePath: '/docs/DevOps',
position: 'left',
label: 'DevOps',
// to:"/docs/dev-ops",
// to:"/docs/DevOps",
},
{
type: 'docSidebar',
sidebarId: 'frontfndSidebar',
activeBasePath: '/docs/front-fnd',
sidebarId: 'SystemsSidebar',
activeBasePath: '/docs/Systems',
position: 'left',
label: 'FrontEnd',
// to:"/docs/front-fnd/",
label: 'Systems',
// to:"/docs/DevOps",
},
{
type: 'docSidebar',
sidebarId: 'netbeansSidebar',
activeBasePath: 'docs/net-beans',
sidebarId: 'AlgorithmsSidebar',
activeBasePath: '/docs/Algorithms',
position: 'left',
label: 'IDE/Markdon',
// to:"/docs/net-beans/",
label: 'Algorithms',
// to:"/docs/Algorithms",
},
{to: '/blog', label: 'Blog', position: 'left'},
{
href: 'http://itBlogPro.yangmufa.com',
label: 'itBlogPro(开发中)',
position: 'right',
type: 'docSidebar',
sidebarId: 'FrontFndSidebar',
activeBasePath: '/docs/FrontFnd',
position: 'left',
label: 'FrontEnd',
// to:"/docs/FrontFnd/",
},
{
type: 'docSidebar',
sidebarId: 'NetBeansSidebar',
activeBasePath: 'docs/NetBeans',
position: 'left',
label: 'NetBeans',
// to:"/docs/NetBeans/",
},
// {to: '/blog', label: 'Blog', position: 'left'},
{
label: 'Git',
label: '项目',
position: 'right',
items: [
{
href: 'https://gitee.com/yangmufa',
label: "gitee",
href: 'http://itblogpro.yangmufa.com',
label: "itBlogPro",
},{
href: 'http://itblogs.yangmufa.com',
label: "itBlogs",
},{
href: 'http://itblog.yangmufa.com',
label: "itBlog",
},
{
href: 'https://github.com/yangmufa',
label: "github",
}
],
},
{
label: 'About',
label: '关于',
position: 'right',
items: [
// {
// to: '/blog',
// label: '更新日志',
// },
{
to: '/blog',
label: '更新日志',
},
{
label: '关于本站',
to: '/docs/intro/',
to: '/docs/Intro/',
},
{
label: '本站教程',
href: 'https://www.trainees.cn/tutorial/itBlog',
},
{
href: 'https://GitHub.com/ProgTrainee',
label: "GitEE",
},
{
href: 'https://gitee.com/ProgTrainee',
label: "GitHub",
},

],
},
{
Expand All @@ -240,7 +253,7 @@ const config: Config = {
{
sidebarId:"introSidebar",
label: '关于本站',
to: '/docs/intro/',
to: '/docs/Intro/',
},
{
label: '本站教程',
Expand Down
23 changes: 12 additions & 11 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,22 @@ const sidebars: SidebarsConfig = {

// By default, itBlog generates a sidebar from the docs folder structure
// blogSidebar: [{type: 'autogenerated', dirName: '/blog'}],
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'}],
// structuresAlgorithmsSidebar: [{type: 'autogenerated', dirName: 'structures-algorithms'}],
middlewareSidebar: [{type: 'autogenerated', dirName: 'middleware'}],
databaseSidebar: [{type: 'autogenerated', dirName: 'databases'}],
devopsSidebar: [{type: 'autogenerated', dirName: 'dev-ops'}],
IntroSidebar: [{type: 'autogenerated', dirName: 'Intro'}],
NetBeansSidebar: [{type: 'autogenerated', dirName: 'NetBeans'}],
FrontFndSidebar: [{type: 'autogenerated', dirName: 'FrontFnd'}],
CCppSidebar: [{type: 'autogenerated', dirName: 'CCpp'}],
CSharpSidebar: [{type: 'autogenerated', dirName: 'CSharp'}],
JavaSidebar: [{type: 'autogenerated', dirName: 'Java'}],
AlgorithmsSidebar: [{type: 'autogenerated', dirName: 'Algorithms'}],
MiddlewareSidebar: [{type: 'autogenerated', dirName: 'Middleware'}],
DatabasesSidebar: [{type: 'autogenerated', dirName: 'Databases'}],
DevOpsSidebar: [{type: 'autogenerated', dirName: 'DevOps'}],
SystemsSidebar: [{type: 'autogenerated', dirName: 'Systems'}],

// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'Intro',
'hello',
{
type: 'category',
Expand Down

0 comments on commit ebc3a8d

Please sign in to comment.