mirror of
https://github.com/ZSCNetSupportDept/website.git
synced 2025-12-26 21:11:12 +08:00
新文章
This commit is contained in:
@@ -4,28 +4,29 @@
|
||||
:::info[注意]
|
||||
|
||||
你需要基本的CLI操作能力来提交更改
|
||||
对于Windows用户,请观看[这个](https://www.bilibili.com/video/BV1ZUrLYSECD)视频学习cmd使用,**不推荐零基础学习PowerShell**。
|
||||
对于Windows用户,请观看[这个](https://www.bilibili.com/video/BV1ZUrLYSECD)视频学习cmd使用,**不推荐零基础学习PowerShell**。
|
||||
对于Linux用户,~~你怎么可能不会~~
|
||||
|
||||
:::
|
||||
|
||||
:::info[注意]
|
||||
|
||||
你需要一个Github账号和git环境才能进行Git操作
|
||||
请参考[Runoob教程](https://www.runoob.com/git/git-install-setup.html)来配置git。
|
||||
你需要一个Github账号和git环境才能进行Git操作
|
||||
请参考[Runoob教程](https://www.runoob.com/git/git-install-setup.html)来配置git。
|
||||
对于Github注册时可能遇到的网络问题,请向组内成员寻求帮助
|
||||
|
||||
:::
|
||||
|
||||
:::info[注意]
|
||||
|
||||
你需要配置Node.JS环境进行Docusaurus的本地预览
|
||||
你需要配置Node.JS环境进行Docusaurus的本地预览
|
||||
请参考[Runoob教程](https://www.runoob.com/nodejs/nodejs-install-setup.html)来配置Node.JS
|
||||
|
||||
:::
|
||||
|
||||
## 0.编写文章
|
||||
Wiki采用的Docusaurus框架使用Markdown格式进行文章的编写,Markdown是一个强大简洁的轻量级标记语言,易读性强。关于Markdown语法可以在[这里](https://markdown.com.cn/cheat-sheet.html)进行学习。
|
||||
Wiki采用的Docusaurus框架使用Markdown格式进行文章的编写,Markdown是一个强大简洁的轻量级标记语言,易读性强。关于Markdown语法可以在[这里](https://markdown.com.cn/cheat-sheet.html)进行学习。
|
||||
需要注意的是,对于MD初学者,会遇到编译器换行与编辑器不一致的情况。请在需要换行的文章末尾添加两个空格再回车,即可解决。
|
||||
|
||||
Docusaurus兼容绝大部分的Markdown语法,同时也提供其特有的特性来提升阅读体验,在这里介绍一下告示框。
|
||||
告示框中的内容由前后各三个冒号包裹起来,然后紧跟着一个表示其类型的文本标签。
|
||||
@@ -75,6 +76,7 @@ Wiki的主仓库链接位于[这里](https://github.com/ZSCNetSupportDept/websit
|
||||
进入目录,从项目根目录下开始看起:
|
||||
- `docs`:存放wiki和开发组文档的内容
|
||||
- `blog`:存放文章的内容
|
||||
- `static`:存放静态文件(e.g.图片)的内容
|
||||
|
||||
打开或者新建一个.md文件,你就可以开始愉快的编写了。
|
||||
|
||||
@@ -114,4 +116,16 @@ npm install
|
||||
|
||||
当然,如果你用的是VS Code,也可以在侧栏的版本管理处直接提交
|
||||
|
||||
## 3.合并到主仓库
|
||||
|
||||
打开你Fork之后的仓库,点击上方的`Pull Request`
|
||||
|
||||

|
||||
|
||||
继续点击`Create pull request`,即可将你的更改提交至主仓库,仓库管理员会核查后将其合并。
|
||||
|
||||

|
||||
|
||||
## FF.常见问题
|
||||
|
||||
我不知道,有问题再补吧
|
||||
BIN
static/img/wiki/GH-PR-1.png
Normal file
BIN
static/img/wiki/GH-PR-1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
BIN
static/img/wiki/GH-PR.png
Normal file
BIN
static/img/wiki/GH-PR.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
Reference in New Issue
Block a user