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

Commit 2acc72d

Browse files
wibus-weeAkaraChenttimochan
authored
docs(docs): use friendly words (#9)
Co-authored-by: AkaraChen <[email protected]> Co-authored-by: timochan <[email protected]>
1 parent e53e350 commit 2acc72d

File tree

6 files changed

+45
-19
lines changed

6 files changed

+45
-19
lines changed

components/Icons/MoreFour.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { SVGProps } from "react";
22

33
export function IconParkMoreFour(props: SVGProps<SVGSVGElement>) {
44
return (
5-
<svg xmlns="http://www.w3.org/2000/svg" width="1.5em" height="1.5em" viewBox="0 0 48 48" {...props}><mask id="ipTMoreFour0"><path fill="#555" stroke="#fff" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="m17 11l7.071-7.071L31.142 11l-7.07 7.071zm13 13l7.071-7.071L44.142 24l-7.07 7.071zM4 24l7.071-7.071L18.142 24l-7.07 7.071zm13 13l7.071-7.071L31.142 37l-7.07 7.071z"></path></mask><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#ipTMoreFour0)"></path></svg>
5+
<svg xmlns="http://www.w3.org/2000/svg" width="1.4em" height="1.4em" viewBox="0 0 48 48" {...props}><mask id="ipTMoreFour0"><path fill="#555" stroke="#fff" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="m17 11l7.071-7.071L31.142 11l-7.07 7.071zm13 13l7.071-7.071L44.142 24l-7.07 7.071zM4 24l7.071-7.071L18.142 24l-7.07 7.071zm13 13l7.071-7.071L31.142 37l-7.07 7.071z"></path></mask><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#ipTMoreFour0)"></path></svg>
66
)
77
}

components/Icons/PeopleCommunity.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { SVGProps } from "react";
2+
3+
export function FluentPeopleCommunity(props: SVGProps<SVGSVGElement>) {
4+
return (
5+
<svg xmlns="http://www.w3.org/2000/svg" width="1.5em" height="1.5em" viewBox="0 0 16 16" {...props}><path fill="currentColor" d="M3 3a2 2 0 1 1 4 0a2 2 0 0 1-4 0Zm2-1a1 1 0 1 0 0 2a1 1 0 0 0 0-2Zm4.779 2.584a2 2 0 1 1 2.442-3.168A2 2 0 0 1 9.78 4.584ZM11 2a1 1 0 1 0 0 2a1 1 0 0 0 0-2ZM2.5 6h2.67c-.11.313-.17.65-.17 1H2.5a.5.5 0 0 0-.5.5c0 .817.325 1.423.838 1.835c.236.19.519.343.839.455a2.5 2.5 0 0 0-.532.868a3.733 3.733 0 0 1-.933-.543C1.46 9.51 1 8.616 1 7.5A1.5 1.5 0 0 1 2.5 6Zm3.768 0a2 2 0 1 0 3.466 2a2 2 0 0 0-3.466-2Zm1.508.025A1.003 1.003 0 0 1 9 7a1 1 0 1 1-1.224-.975Zm5.386 3.31c-.236.19-.519.343-.839.455a2.5 2.5 0 0 1 .531.868c.34-.139.655-.32.934-.543C14.54 9.51 15 8.616 15 7.5A1.5 1.5 0 0 0 13.5 6h-2.67c.11.313.17.65.17 1h2.5a.5.5 0 0 1 .5.5c0 .817-.325 1.423-.838 1.835ZM10.5 10a1.5 1.5 0 0 1 1.5 1.5c0 1.116-.459 2.01-1.212 2.615C10.047 14.71 9.053 15 8 15c-1.053 0-2.047-.29-2.788-.885C4.46 13.51 4 12.616 4 11.5A1.496 1.496 0 0 1 5.5 10h5Zm0 1h-5a.5.5 0 0 0-.5.5c0 .817.325 1.423.838 1.835C6.364 13.757 7.12 14 8 14c.88 0 1.636-.243 2.162-.665c.513-.412.838-1.018.838-1.835a.5.5 0 0 0-.5-.5Z"></path></svg>
6+
)
7+
}

pages/docs/community.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 社区用户 の 部署教程
1+
# 社区部署教程
22

33
以下是社区用户分享的部署方式,你可以参考他们的部署方式,但我们不保证它们的可用性。如果你也有教程想要与大家分享的,欢迎您向文档提交 [Pull Request](https://github.com/mx-space/docs/pulls) 以分享您的部署方式。
44

pages/docs/docker.mdx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Callout, Steps } from "nextra/components";
66
<Steps>
77
### 安装 Docker
88

9-
如果你的服务器在国内,建议使用阿里云的镜像加速器,安装命令如下:
9+
如果你的服务器在国内,建议使用阿里云的镜像加速,安装命令如下:
1010

1111
```bash
1212
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
@@ -16,6 +16,16 @@ curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
1616
```bash
1717
curl -fsSL https://get.docker.com | bash -s docker
1818
```
19+
20+
如果您成功安装了 Docker 和 Docker-Compose,可以通过以下命令查看版本:
21+
22+
```bash
23+
docker -v
24+
25+
docker compose version
26+
```
27+
28+
1929
### 拉取配置文件
2030

2131
```bash
@@ -68,7 +78,7 @@ import { EnvVariableConfig } from '@components/EnvVariableConfig';
6878
### 启动 Core
6979

7080
```bash
71-
docker-compose up -d
81+
docker compose up -d
7282
```
7383

7484
### 完成

pages/docs/index.mdx

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,39 @@ title: 引言
66

77
**Mix Space** 是一个一款简洁而不简单的个人博客系统,它够快,够现代。你可以利用它构建一个属于自己的个人空间,记录生活,分享知识。
88

9-
在本章节,我们教你完成的是 **后端** 的安装,而 **前端** 的安装则需要你阅读 [前端主题文档](/themes)
9+
在本章节,我们将完成的是 **后端** 的安装,而 **前端** 的安装则需要你阅读 [前端主题文档](/themes)
1010

1111
<Callout type="info">
12-
为什么分开部署?请查看本页 [一些你需要清楚知道的事情](#一些你需要清楚知道的事情) 小节。
12+
为什么分开部署?请查看本页 [一些你需要知道的事情](#一些你需要知道的事情) 小节。
1313
</Callout>
1414

1515
## 快速开始
1616

17-
<Callout type="warning">
18-
如果你对 **Docker, Docker Compose, NodeJS, npm-script, git** 等技术不熟悉,建议先学习相关知识。文档中不会对这些技术进行详细介绍,且若由于不熟悉这些技术导致的问题,我们将**不会提供技术支持**
19-
20-
如果你不是开发者,或者不想折腾,请不要选择**进阶部署**,因为它需要你具备一定的开发能力。
17+
<Callout>
18+
我们提供了三种部署方式,并且社区也提供了更多的部署方式,你可以根据自己的喜好选择一种部署方式。
2119
</Callout>
2220

2321
import { Card, Cards, Callout } from 'nextra/components';
2422
import { UimDocker } from '@components/Icons/Docker';
2523
import { UilPaintTool } from '@components/Icons/PaintTool';
2624
import { UimStar } from '@components/Icons/Star';
25+
import { FluentPeopleCommunity } from '@components/Icons/PeopleCommunity';
2726

28-
<Cards num={3}>
27+
<Cards num={2}>
2928
<Card arrow title="Docker 部署 (推荐)" href="/docs/docker" icon={<UimDocker />} />
3029
<Card arrow title="预设脚本部署" href="/docs/scripts" icon={<UilPaintTool />} />
3130
<Card arrow title="进阶部署" href="/docs/advanced" icon={<UimStar />} />
31+
<Card arrow title="社区部署教程" href="/docs/community" icon={<FluentPeopleCommunity />} />
3232
</Cards>
3333

34-
还有更多部署方式吗?欢迎您向文档提交 [Pull Request](https://github.com/mx-space/docs/pulls) 以分享您的部署方式。按上方**后端部署文档**完成你的部署后,你可以通过继续部署 Mix Space **前端** *(为什么分开部署?请查看 [一些你需要清楚知道的事情](#一些你需要清楚知道的事情)*
35-
36-
下面是一些你可能需要的链接:
34+
还有更多部署方式吗?欢迎您向文档提交 [Pull Request](https://github.com/mx-space/docs/pulls) 以分享您的部署方式。按上方**后端部署文档**完成你的部署后,你可以通过下面的方式继续部署 Mix Space **前端** *(为什么分开部署?请查看 [一些你需要知道的事情](#一些你需要知道的事情)*
3735

3836
<Cards num={1}>
39-
<Card arrow title="前端主题 の 部署文档" href="/themes" />
40-
<Card arrow title="社区用户 の 部署教程" href="/docs/community" />
37+
<Card arrow title="浏览前端主题" href="/themes" />
4138
</Cards>
4239

4340

44-
## 一些你需要清楚知道的事情
41+
## 一些你需要知道的事情
4542

4643
### 遇到报错怎么办?
4744

pages/themes/kami.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,25 @@ import { ToGitHub } from '@components/ToGitHub';
66

77
import { Callout, Steps } from "nextra/components";
88

9+
10+
> 下一个代替项目将会是 Shiro,当它完成之时,我便不再投入任何精力到 Kami 中。迎接未来总需要舍弃一些东西,非常感谢大家三年来使用 Kami,不管你是谁,都需要对你说声谢谢。**—— Innei**
11+
12+
13+
914
<Callout type="warning">
10-
下一个代替项目将会是 Shiro,当它完成之时,我便不再投入任何精力到 Kami 中。迎接未来总需要舍弃一些东西,非常感谢大家三年来使用 Kami,不管你是谁,都需要对你说声谢谢。**—— Innei**
15+
由于 Kami 主题将不再维护,该部分文档将会保持最小程度的更新;值得注意的是,使用 Kami 要求服务器的 Linux 内核版本不小于 4.19。
1116
</Callout>
1217

13-
由于 Kami 主题将不再维护,此文档将不再更新,但是你仍然可以使用它。
1418

1519
<Steps>
20+
### 检查内核版本
21+
22+
```bash
23+
uname -r
24+
```
25+
如果你的内核版本小于 4.19,请升级内核。或者使用最新的 Ubuntu / Debian 。
26+
27+
1628
### 克隆项目
1729

1830
```bash

0 commit comments

Comments
 (0)