Skip to content

Commit

Permalink
Navbar和Markdon配置
Browse files Browse the repository at this point in the history
  • Loading branch information
DevCaikun committed Jul 12, 2024
1 parent a5515eb commit d67404e
Show file tree
Hide file tree
Showing 44 changed files with 412 additions and 38 deletions.
2 changes: 1 addition & 1 deletion blog/2019-05-28-first-blog-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,]

---

Expand Down
2 changes: 1 addition & 1 deletion blog/2019-05-29-long-blog-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion blog/2021-08-01-mdx-blog-post.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down
2 changes: 1 addition & 1 deletion blog/2021-08-27-welcome/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
6 changes: 6 additions & 0 deletions docs/c-and-cpp/C++.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
sidebar_position: 2
---

# C++

6 changes: 6 additions & 0 deletions docs/c-and-cpp/C.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
sidebar_position: 1
---

# C

5 changes: 5 additions & 0 deletions docs/c-sharp/CSharp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 1
---

# CSharp
5 changes: 5 additions & 0 deletions docs/c-sharp/DotNet8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 2
---

# .Net8
5 changes: 5 additions & 0 deletions docs/databases/SQL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 1
---

# SQL
5 changes: 5 additions & 0 deletions docs/dev-ops/Jenkins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 2
---

# Jenkins
5 changes: 5 additions & 0 deletions docs/dev-ops/Linux.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 1
---

# Linux
5 changes: 5 additions & 0 deletions docs/front-fnd/CSS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 2
---

# CSS3
5 changes: 5 additions & 0 deletions docs/front-fnd/HTML.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 1
---

# HTML5
5 changes: 5 additions & 0 deletions docs/front-fnd/JavaScript.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 4
---

# JavaScript
5 changes: 5 additions & 0 deletions docs/front-fnd/SCSS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 3
---

# SCSS
5 changes: 5 additions & 0 deletions docs/front-fnd/TypeScript.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 5
---

# TypeScript
File renamed without changes.
47 changes: 47 additions & 0 deletions docs/intro/net-beans.md
Original file line number Diff line number Diff line change
@@ -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.
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 @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions docs/java/JDK8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 1
---

# JDK8
5 changes: 5 additions & 0 deletions docs/middleware/消息中间件/RabbitMQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 1
---

# RabbitMQ
9 changes: 9 additions & 0 deletions docs/net-beans/JetBrains/ Rider.md
Original file line number Diff line number Diff line change
@@ -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)】
```
3 changes: 3 additions & 0 deletions docs/net-beans/JetBrains/ WebStorm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@


# WebStorm
5 changes: 5 additions & 0 deletions docs/net-beans/JetBrains/IntelliJ IDEA.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


# IntelliJ IDEA


44 changes: 44 additions & 0 deletions docs/net-beans/JetBrains/index.md
Original file line number Diff line number Diff line change
@@ -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重启 即可。`
```
47 changes: 47 additions & 0 deletions docs/net-beans/Markdon.md
Original file line number Diff line number Diff line change
@@ -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.
20 changes: 20 additions & 0 deletions docs/net-beans/Notepad.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
sidebar_position: 1
---

# Notepad


### `删除关键词所在的行`

```markdown
1、按组合键Ctrl + F,查找模式选择 '正则表达式',不选 '.匹配新行'

2、查找目标输入 :

^.*关键字.*\r?\n (不保留空行)
^.*关键字.*$ (保留空行)

3、替换为:(空)
```

47 changes: 47 additions & 0 deletions docs/net-beans/VSCode.md
Original file line number Diff line number Diff line change
@@ -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.
Loading

0 comments on commit d67404e

Please sign in to comment.