Skip to content

Commit 821e039

Browse files
committed
add markdown.md
1 parent ea11b78 commit 821e039

File tree

7 files changed

+313
-196
lines changed

7 files changed

+313
-196
lines changed

docs/files/contribution.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: 贡献统计表
3+
sidebar_position: 1
4+
---
5+
6+
# 贡献统计表
7+
8+
## 统计表
9+
10+
11+
## 详情
12+

docs/files/members.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
sidebar_position: 1
2+
title: 人才盘点
3+
sidebar_position: 2
34
---
45

56
# 人才盘点

docs/windows/p0/markdown.md

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
title: Markdown超简教程
3+
sidebar_position: 1
4+
---
5+
6+
# Markdown超简教程
7+
8+
语法:命令+空格
9+
10+
## 1.标题
11+
12+
\# 一级标题
13+
14+
\## 二级标题
15+
16+
\### 三级标题
17+
18+
直至 六级标题
19+
20+
21+
## 2.列表
22+
23+
### 2.1.无序列表(无序号)
24+
25+
- 无序列表项1
26+
- 无序列表项2
27+
28+
### 2.2.有序列表(有序号)
29+
30+
1. 有序列表项1
31+
2. 有序列表项2
32+
3. ...
33+
34+
## 3.引用
35+
36+
\> 内容
37+
38+
> 引用
39+
40+
## 4.任务列表
41+
42+
\- [ ]
43+
44+
- [ ]
45+
46+
## 5.代码块
47+
48+
\``` 按哪种编程语言显示
49+
内容
50+
\```
51+
52+
``` python
53+
print("小白慢爬营")
54+
```
55+
56+
## 6.超链接
57+
58+
\[链接名](链接)
59+
60+
[Github About](https://github.com/about)
61+
62+
63+
## 7.图片
64+
\!\[链接名](链接)
65+
66+
![](https://github.githubassets.com/images/modules/site/about/octocats.webp)

docusaurus.config.js

+10-9
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula");
88
const config = {
99
title: "编程共学共创文档库",
1010
tagline: "Dinosaurs are cool",
11-
url: "https://github.com/coding-newbies-group",
11+
url: "https://github.com/",
1212
baseUrl: "/programming-co_creation-docs/",
1313
onBrokenLinks: "throw",
1414
onBrokenMarkdownLinks: "warn",
@@ -57,21 +57,22 @@ const config = {
5757
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
5858
({
5959
navbar: {
60-
title: "编程共创文档库",
60+
title: "共学共创文档库",
6161
logo: {
6262
alt: "My Site Logo",
6363
src: "img/logo.svg",
64+
href: '/programming-co_creation-docs/docs/intro',
6465
},
6566
items: [
66-
{
67-
type: "doc",
68-
docId: "intro",
69-
position: "left",
70-
label: "Docs",
71-
},
67+
// {
68+
// type: "doc",
69+
// docId: "intro",
70+
// position: "left",
71+
// label: "Docs",
72+
// },
7273
// { to: "/blog", label: "Blog", position: "left" },
7374
{
74-
href: "https://github.com/facebook/docusaurus",
75+
href: "https://github.com/coding-newbies-group/programming-co_creation-docs",
7576
label: "GitHub",
7677
position: "right",
7778
},

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
"write-heading-ids": "docusaurus write-heading-ids"
1515
},
1616
"dependencies": {
17-
"@docusaurus/core": "2.2.0",
18-
"@docusaurus/preset-classic": "2.2.0",
17+
"@docusaurus/core": "^2.3.1",
18+
"@docusaurus/preset-classic": "^2.3.1",
1919
"@mdx-js/react": "^1.6.22",
2020
"clsx": "^1.2.1",
2121
"prism-react-renderer": "^1.3.5",
2222
"react": "^17.0.2",
2323
"react-dom": "^17.0.2"
2424
},
2525
"devDependencies": {
26-
"@docusaurus/module-type-aliases": "2.2.0"
26+
"@docusaurus/module-type-aliases": "^2.3.1"
2727
},
2828
"browserslist": {
2929
"production": [

sidebars.js

+22-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const sidebars = {
2727
{
2828
type: "category",
2929
label: "准备篇",
30-
items: ["windows/p0/example"],
30+
items: ["windows/p0/markdown"],
3131
collapsible: false,
3232
},
3333
{
@@ -48,12 +48,31 @@ const sidebars = {
4848
{
4949
type: "category",
5050
label: "Mac",
51-
items: ["mac/intro"],
51+
items: [
52+
{
53+
type: "category",
54+
label: "准备篇",
55+
items: ["mac/p0/example"],
56+
collapsible: false,
57+
},
58+
{
59+
type: "category",
60+
label: "基础篇",
61+
items: ["mac/p1/example"],
62+
// collapsible: false,
63+
},
64+
{
65+
type: "category",
66+
label: "进阶篇",
67+
items: ["mac/p2/example"],
68+
// collapsible: false,
69+
},
70+
],
5271
},
5372
{
5473
type: "category",
5574
label: "项目材料",
56-
items: ["mac/intro"],
75+
items: ["files/contribution", "files/members"],
5776
},
5877
],
5978
};

0 commit comments

Comments
 (0)