Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 3f9ac89

Browse files
committed
将Wiki本地化
1 parent cd3a122 commit 3f9ac89

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+4035
-19
lines changed

README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
# Hypiworld社区资源站 Wiki
22

3-
一个为Hypiworld机械筑梦服务器搭建的社区资源站
3+
<h1 align="center">
4+
<br>
5+
<a href="https://hypiworldcrs-blockhaity.netlify.app" alt="logo" ><img src="image/logo.png" width="150"/></a>
6+
<br>
7+
Hypiworld社区资源站
8+
<br>
9+
</h1>
10+
11+
<h4 align="center">一个为Hypiworld机械筑梦服务器搭建的社区资源站<br>当前站点版本“noble-Ver.1”</h4>
12+
13+
[![Netlify Status](https://api.netlify.com/api/v1/badges/d7c1b2b3-ea75-4b30-a8cb-ca5f0125df05/deploy-status)](https://app.netlify.com/sites/hypiworldcrs-blockhaity/deploys)
14+
15+
当前主要维护者:[BlockHaity](https://github/blockhaity/)
16+
17+
感谢腐竹[BaimoQilin](https://github.com/Zhou-Shilin)大大的支持
18+

SUMMARY.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010

1111
## 开发者相关
1212

13+
* [如何投稿](kai-fa-zhe-xiang-guan/ru-he-tou-gao.md)
1314
* [资源包投稿标准](kai-fa-zhe-xiang-guan/zi-yuan-bao-tou-gao-biao-zhun.md)
14-
* [资源包投稿模板](kai-fa-zhe-xiang-guan/zi-yuan-bao-tou-gao-mo-ban.md)
15+
* [资源包投稿模板](kai-fa-zhe-xiang-guan/zi-yuan-bao-tou-gao-mo-ban.md)
1516
* [结构资源投稿标准](kai-fa-zhe-xiang-guan/jie-gou-zi-yuan-tou-gao-biao-zhun.md)
16-
* [结构资源投稿模板](kai-fa-zhe-xiang-guan/jie-gou-zi-yuan-tou-gao-mo-ban.md)
17+
* [结构资源投稿模板](kai-fa-zhe-xiang-guan/jie-gou-zi-yuan-tou-gao-mo-ban.md)
1718
* [Mod资源投稿标准](kai-fa-zhe-xiang-guan/mod-zi-yuan-tou-gao-biao-zhun.md)
18-
* [Mod资源投稿模板](kai-fa-zhe-xiang-guan/mod-zi-yuan-tou-gao-mo-ban.md)
19+
* [Mod资源投稿模板](kai-fa-zhe-xiang-guan/mod-zi-yuan-tou-gao-mo-ban.md)

book.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"plugins": [
3+
"hints", "-lunr", "-search", "search-pro", "chapter-fold", "code", "splitter", "back-to-top-button", "insert-logo"
4+
],
5+
"pluginsConfig": {
6+
"insert-logo": {
7+
"url": "/wiki/image/logo.png",
8+
"style": "background: none; max-height: 30px; min-height: 30px"
9+
}
10+
}
11+
}

image/logo.png

9.18 KB
Loading

kai-fa-zhe-xiang-guan/jie-gou-zi-yuan-tou-gao-mo-ban.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# 结构资源投稿模板
22

3-
{% code title="title.md" fullWidth="false" %}
4-
```markdown
3+
``` markdown
54
---
65
title: 发布模板
76
date: 2024-02-19 13:26:31
@@ -19,7 +18,6 @@ cover: https://examples.com/cover.png
1918

2019
文件 [文件名](文件链接)
2120
```
22-
{% endcode %}
2321

2422
## 相关说明
2523

@@ -31,6 +29,6 @@ cover: https://examples.com/cover.png
3129

3230
虽然可以,但不建议将资源托管到网站,因为无论是Github还是Netlify在国内下载大文件的速度都十分感人,如果一定要托管在此处的话,请将你的资源放在`source`文件夹中`files`文件夹中以文章命名的文件夹中。调用方式如下
3331

34-
```markdown
32+
``` markdown
3533
文件 [文件名](/files/文章名/文件名)
3634
```

kai-fa-zhe-xiang-guan/mod-zi-yuan-tou-gao-mo-ban.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Mod资源投稿模板
22

3-
{% code title="title.md" fullWidth="false" %}
4-
```markdown
3+
``` markdown
54
---
65
title: 发布模板
76
date: 2024-02-19 13:26:31
@@ -19,7 +18,6 @@ cover: https://examples.com/cover.png
1918

2019
文件 [文件名](文件链接)
2120
```
22-
{% endcode %}
2321

2422
## 相关说明
2523

@@ -33,6 +31,6 @@ cover: https://examples.com/cover.png
3331

3432
虽然可以,但不建议将资源托管到网站,因为无论是Github还是Netlify在国内下载大文件的速度都十分感人,如果一定要托管在此处的话,请将你的资源放在`source`文件夹中`files`文件夹中以文章命名的文件夹中。调用方式如下
3533

36-
```markdown
34+
``` markdown
3735
文件 [文件名](/files/文章名/文件名)
3836
```
+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# 注意
2+
3+
在投稿前,请确认你的资源不会违反Hypiworld玩家协议,我们会不定期删除违反Hypiworld玩家协议的资源。
4+
5+
# 可供参考的文档
6+
7+
[Hypiworld玩家协议](https://baimoqilin.top/hypiworld/rules.pdf)
8+
9+
[Markdown语法速查表](https://markdown.com.cn/cheat-sheet.html)
10+
11+
[Hexo文档](https://hexo.io/zh-cn/docs/)
12+
13+
# 投稿方法
14+
15+
## PR方法
16+
17+
两种方法均需要Github账号
18+
19+
### 轻量
20+
21+
本方法无需安装hexo。
22+
23+
1. fork [BlockHaity/Hypiworld-Community-Resource-Library](https://github.com/BlockHaity/Hypiworld-Community-Resource-Library)并clone到本地。
24+
2.`wiki`中复制一份模版的markdown文件,命名为文章标题的英文。
25+
3. 使用Markdown语法编辑文章。
26+
4. commit&push&pull requests即可
27+
28+
### 标准
29+
首先,安装相关依赖
30+
31+
```
32+
# 安装nodejs(Windows)
33+
PS> winget install openjs.nodejs
34+
# 安装nodejs(Linux)
35+
$ sudo apt install nodejs npm # Debian系
36+
$ sudo pacman -S nodejs # Arch系
37+
38+
# 设置npm镜像源(网络条件好可以跳过)
39+
npm config set registry https://registry.npmmirror.com
40+
41+
# 安装hexo
42+
npm install -g hexo-cli
43+
```
44+
45+
接下来,将仓库(BlockHaity/Hypiworld-Community-Resource-Library)fork到自己名下,然后将仓库克隆到本地,进入文件夹并运行`npm install --save`
46+
47+
然后,运行`hexo new (文章名)`来创建文章。可以按照发布模板来编写
48+
49+
接下来,将本地仓库推送到Github
50+
51+
最后,创建PR,PR会自动合并,网页构建需要时间,一般在1~2分钟后即可见到你的文章和资源。

kai-fa-zhe-xiang-guan/zi-yuan-bao-tou-gao-mo-ban.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# 资源包投稿模板
22

3-
{% code title="title.md" fullWidth="false" %}
4-
```markdown
3+
``` markdown
54
---
65
title: 发布模板
76
date: 2024-02-19 13:26:31
@@ -19,7 +18,6 @@ cover: https://examples.com/cover.png
1918

2019
文件 [文件名](文件链接)
2120
```
22-
{% endcode %}
2321

2422
## 相关说明
2523

@@ -31,6 +29,6 @@ cover: https://examples.com/cover.png
3129

3230
虽然可以,但不建议将资源托管到网站,因为无论是Github还是Netlify在国内下载大文件的速度都十分感人,如果一定要托管在此处的话,请将你的资源放在`source`文件夹中`files`文件夹中以文章命名的文件夹中。调用方式如下
3331

34-
```markdown
32+
``` markdown
3533
文件 [文件名](/files/文章名/文件名)
3634
```

node_modules/gitbook-plugin-back-to-top-button/LICENSE

+201
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)