Skip to content

Commit

Permalink
docs: update get involved pages
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jul 12, 2022
1 parent 955423a commit 90281ee
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 30 deletions.
14 changes: 4 additions & 10 deletions exampleSite/content/docs/get-involved/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ aliases = [
"/en/posts/get-involved"
]
authors = ["RazonYang"]
navWeight = 1
[menu.main]
parent = "support"
weight = 5
Expand Down Expand Up @@ -57,24 +58,17 @@ For example:

### Develop

The theme relies on `npm` and `webpack` for building assets: JS, CSS, fonts etc.
The theme relies on `npm` and Hugo Pipes for building assets: JS, CSS, fonts etc.

> The source code were placed in `src` directory.
> The source code were placed in `assets` directory.
#### Install dependencies

```bash
$ cd exampleSite
$ npm install
```

#### Rebuild assets

```bash
$ npm run build
```

> `npm run watch` will rebuild assets on change.
#### Preview

```bash
Expand Down
14 changes: 4 additions & 10 deletions exampleSite/content/docs/get-involved/index.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ images = []
aliases = [
"/zh-cn/posts/get-involved"
]
navWeight = 1
authors = ["RazonYang"]
[menu.main]
parent = "support"
Expand Down Expand Up @@ -57,24 +58,17 @@ authors = ["RazonYang"]

### 开发

本主题依赖 `npm``webpack`,用于生成资源文件:JS、CSS、字体等。
本主题依赖 `npm`Hugo Pipes,用于生成资源文件:JS、CSS、字体等。

> 其源码放在 `src` 目录。
> 其源码放在 `assets` 目录。
#### 安装依赖

```bash
$ cd exampleSite
$ npm install
```

#### 重建资源

```bash
$ npm run build
```

> `npm run watch` 会在文件改动时重建资源。
#### 预览

```bash
Expand Down
14 changes: 4 additions & 10 deletions exampleSite/content/docs/get-involved/index.zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ images = []
aliases = [
"/zh-tw/posts/get-involved"
]
navWeight = 1
authors = ["RazonYang"]
[menu.main]
parent = "support"
Expand Down Expand Up @@ -57,24 +58,17 @@ authors = ["RazonYang"]

### 開發

本主題依賴 `npm``webpack`,用於生成資源文件:JS、CSS、字體等。
本主題依賴 `npm`Hugo Pipes,用於生成資源文件:JS、CSS、字體等。

> 其源碼放在 `src` 目錄。
> 其源碼放在 `assets` 目錄。
#### 安裝依賴

```bash
$ cd exampleSite
$ npm install
```

#### 重建資源

```bash
$ npm run build
```

> `npm run watch` 會在文件改動時重建資源。
#### 預覽

```bash
Expand Down

0 comments on commit 90281ee

Please sign in to comment.