Skip to content

Commit 6825b0d

Browse files
committed
fix
1 parent 1161b40 commit 6825b0d

24 files changed

+26
-262
lines changed

README.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ The torchpipe code is being prepared for open sourcing. Here is its documentatio
3838

3939

4040
## Compile
41-
See [./compile.md(in chinese now)](./compile.md)
42-
43-
### Icons
44-
45-
This project utilizes free icons (soap-bubble) from [IconPark](https://iconpark.oceanengine.com/official). These icons are licensed under the [Apache License 2.0](https://github.com/bytedance/IconPark/blob/master/LICENSE) and have been optimized for vector graphics by ChatGPT4.
46-
41+
See [./compile.md](./compile.md)
4742

4843

compile.md

+15-10
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11

22
## compile
33

4-
### 启动容器
4+
### Starting the Container
5+
6+
7+
58
```bash
69
# remove image if needed
710
docker stop docu2 && docker rm docu2
811
export your_ip=<your_ip>
9-
# 修改对外ip和端口(your_ip:port:3000 ):
12+
# Changing the external IP and port(your_ip:port:3000 ):
1013
docker run -p $your_ip:3000:3000 --privileged=true -v `pwd`:/workspace --name="docu2" --cap-add=SYS_PTRACE -itd node
1114
docker exec -it -w/workspace/ docu2 bash
1215
```
1316

14-
### 安装依赖
17+
### Installing Dependencies
1518

1619
```bash
1720
yarn add @docusaurus/theme-mermaid
1821
yarn add @easyops-cn/docusaurus-search-local
1922
yarn upgrade @docusaurus/core@latest @docusaurus/preset-classic@latest
2023
```
2124

22-
### 编译并运行
25+
### Compiling and Running
26+
2327

2428
```bash
2529
git config --global --add safe.directory /workspace
@@ -28,17 +32,18 @@ yarn run build # < repeat this command if u need update the document
2832

2933
npm run serve &
3034
```
31-
接下来,您就可以通过<your_ip>:3000预览文档内容了。
35+
You can now preview the document content by accessing <your_ip>:3000.
3236

37+
3338

3439

3540

36-
### 更新翻译(optinal)
3741

38-
菜单等系统部分的翻译,需要:
39-
- 将主体用英语书写
40-
- 再执行:
42+
### Updating the Translation (optional)
43+
For translating system parts such as menus, please:
44+
- Write the main content in English
45+
- Then execute:
4146
```bash
4247
yarn run write-translations --locale zh
4348
```
44-
- 在生成的文件中将对应的英文修改为中文
49+
- Replace the corresponding English words with Chinese in the generated file.

docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const config = {
1818
onBrokenLinks: "throw",
1919
onBrokenMarkdownLinks: "warn",
2020
// favicon: "images/favicon.ico",
21-
favicon: "images/logo_double.svg",
21+
favicon: "images/logo.svg",
2222
organizationName: "torchpipe",
2323
projectName: "torchpipe.github.io",
2424
deploymentBranch: "master",

i18n/zh/docusaurus-plugin-content-docs/static/images/gitlab-logo.svg

-1
This file was deleted.

i18n/zh/docusaurus-plugin-content-docs/static/images/logo.svg

-30
This file was deleted.

i18n/zh/docusaurus-plugin-content-docs/static/images/logo2.svg

-1
This file was deleted.

i18n/zh/docusaurus-plugin-content-docs/static/images/logo_3d copy 2.svg

-38
This file was deleted.

i18n/zh/docusaurus-plugin-content-docs/static/images/logo_3d copy.svg

-46
This file was deleted.

i18n/zh/docusaurus-plugin-content-docs/static/images/logo_3d.svg

-45
This file was deleted.

i18n/zh/docusaurus-plugin-content-docs/static/images/logo_big.svg

-1
This file was deleted.

i18n/zh/docusaurus-plugin-content-docs/static/images/logo_double.svg

-1
This file was deleted.

i18n/zh/docusaurus-plugin-content-docs/static/images/logo_old.svg

-1
This file was deleted.

i18n/zh/docusaurus-plugin-content-docs/static/images/logo_v1.svg

-1
This file was deleted.
Binary file not shown.

src/components/project-icon.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
export default function ProjectIcon(props) {
33
return (
4-
<img src="/images/logo_3d.svg"></img>
4+
<img src="/images/logo.svg"></img>
55
// <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...props}>
66
// <title>torchpipe</title>
77
// <path d="" />

static/images/logo.svg

+1-29
Loading

static/images/logo2.svg

-1
This file was deleted.

static/images/logo_3d.svg

-45
This file was deleted.

static/images/logo_big.svg

-1
This file was deleted.

static/images/logo_double.svg

-1
This file was deleted.

static/images/logo_old.svg

-1
This file was deleted.

0 commit comments

Comments
 (0)