规范化

This commit is contained in:
Radiation_pi 2024-06-23 14:30:32 +08:00
parent 32ffccb3dd
commit 849754f6ed
3 changed files with 11 additions and 11 deletions

View File

@ -43,21 +43,21 @@ https://nitwikit.yizhan.wiki/
> [!NOTE]
> 请先安装 Node.js 和 npm
1. 将此仓库克隆至本地
1. 将此仓库克隆至本地
`git clone https://github.com/postyizhan/NitWikit.git`
2. 移动至仓库根目录
2. 移动至仓库根目录
`cd NitWikit`
3. 安装依赖
3. 安装依赖
`npm install`
4. 构建文档
4. 构建文档
`npm run build`
5. 部署测试网站
5. 部署测试网站
`npm run serve`
# ⬆️ 提交贡献
1. Fork 此仓库至自己的 GitHub 账户下
2. 将自己账户下的仓库克隆至本地
2. 将自己账户下的仓库克隆至本地
`git clone https://github.com/你的用户名/NitWikit.git`
3. 在本地仓库中进行修改并构建文档测试,无误后 push 至自己的仓库
4. 回到此仓库,点击 Pull requests -> New pull request 发起Pr

View File

@ -16,8 +16,8 @@ const config = {
start: "快速开始 🥵",
},
title: '笨蛋MC开服教程',
tagline: '一群笨蛋们写的Minecraft开服教程',
title: '笨蛋 MC 开服教程',
tagline: '一群笨蛋们写的 Minecraft 开服教程',
favicon: 'img/favicon.ico',
// Set the production url of your site here
@ -29,7 +29,7 @@ const config = {
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'postyizhan', // Usually your GitHub org/user name.
projectName: '傻瓜指南', // Usually your repo name.
projectName: '笨蛋式指南', // Usually your repo name.
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
@ -147,7 +147,7 @@ const config = {
require.resolve("@easyops-cn/docusaurus-search-local"),
{
hashed: true,
language: ["en", "zh"],
language: ["zh"],
highlightSearchTermsOnTargetPage: true,
explicitSearchResultPath: true,
indexBlog: false,

View File

@ -26,7 +26,7 @@ const FeatureList = [
Svg: require('@site/static/img/furnace.svg').default,
description: (
<>
基于MC社区最新内容编写,保持更新
基于 MC 社区最新内容编写,保持更新
</>
),
},