Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
icodezjb committed Apr 21, 2022
1 parent 64402b2 commit c57baf3
Show file tree
Hide file tree
Showing 17 changed files with 45 additions and 79 deletions.
10 changes: 0 additions & 10 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,6 @@ enable = false
icon = "fab fa-telegram"
desc = "Chat with other project developers"

[[params.versions]]
version = "v2.0 (Latest)"
archived_version = false
url = "/"

[[params.versions]]
version = "v1.0"
archived_version = true
url = "https://doc.chainx.org"

[menu]
[[menu.main]]
identifier = "GitHub"
Expand Down
10 changes: 5 additions & 5 deletions content/zh/_index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
+++
title = "ChainX Docs"
linkTitle = "ChainXDocs"
title = "ChainX & SherpaX Docs"
linkTitle = "ChainX and SherpaX Docs"

+++

{{< blocks/cover title="Welcome to ChainX Documentation!" image_anchor="top" height="full" color="orange" >}}
{{< blocks/cover title="Welcome to ChainX & SherpaX Documentations!" image_anchor="top" height="full" color="orange" >}}
<div class="mx-auto">
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
Learn More <i class="fas fa-arrow-alt-circle-right ml-2"></i>
Learn More <i class="fas fa-arrow-alt-circle-right ml-2"></i>
</a>
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://github.com/chainx-org/ChainX">
Download <i class="fab fa-github ml-2 "></i>
</a>
<p class="lead mt-5">Cross-chain hub for Crypto Asset on Polkadot</p>
<p class="lead mt-5">BTC Layer2 & Hubs for multi-chain systems such as MiniX/SherpaX & Backend chain hub of ComingChat</p>
{{< blocks/link-down color="info" >}}
</div>
{{< /blocks/cover >}}
3 changes: 1 addition & 2 deletions content/zh/docs/chainx/Bridges/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "资产转接桥/网关(2.0中称为资产网关Gateway)"
linkTitle: "资产转接桥/网关"
weight: 7
weight: 6
description: >
资产转接桥/网关指代其他链的资产转移到ChainX或从ChainX转移回去的控制模块。
---
Expand Down Expand Up @@ -90,4 +90,3 @@ description: >

**该模式是新型去中心化跨链方式。**


8 changes: 4 additions & 4 deletions content/zh/docs/chainx/Developers/_index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: "开发者"
linkTitle: "开发者"
title: "开发者文档"
linkTitle: "开发者文档"
weight: 5
date: 2017-01-05
description: The develop documentation.
date: 2022-04-21
description: ChainX developer documentation.
---

{{% pageinfo %}}
Expand Down
13 changes: 0 additions & 13 deletions content/zh/docs/chainx/Mining/_index.md

This file was deleted.

2 changes: 1 addition & 1 deletion content/zh/docs/chainx/Trouble Shooting/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "常见问题"
linkTitle: "常见问题"
weight: 9
weight: 7
date: 2022-04-20
description: >
---
Expand Down
7 changes: 3 additions & 4 deletions content/zh/docs/chainx/Users/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: "Users"
linkTitle: "Users"
title: "用户指南"
linkTitle: "用户指南"
weight: 2
date: 2022-04-19
description: >
ChainX user guide
description: ChainX user guide
---

{{% pageinfo %}}
Expand Down
5 changes: 2 additions & 3 deletions content/zh/docs/chainx/Users/assets_manage.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ title: "资产管理"
linkTitle: "资产管理"
weight: 1
date: 2022-04-19
description: >
ChainX user guide
description: PCX and XBTC assets manage
---

### 1 资产管理
Expand All @@ -21,4 +20,4 @@ description: >

点击转账,输入收款人地址,输入发送金额

![](/images/transfer.png)
![](/images/transfer.png)
5 changes: 2 additions & 3 deletions content/zh/docs/chainx/Users/government.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ title: "链上治理"
linkTitle: "链上治理"
weight: 2
date: 2022-04-19
description: >
ChainX user guide
description: ChainX council election and democracy referendums
---

### 2 链上治理
Expand Down Expand Up @@ -123,4 +122,4 @@ description: >
**第4步**
填写受益人地址、奖励原因,点击“Proposal Tip”

![](/images/treasury6.png)
![](/images/treasury6.png)
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: "PCX挖矿"
linkTitle: "PCX挖矿"
weight: 8
weight: 4
date: 2022-04-19
description: >
ChainX user guide
description: Staking PCX, Reward PCX
---

### 3 PCX挖矿
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: "XBTC挖矿"
linkTitle: "XBTC挖矿"
weight: 8
title: "BTC挖矿"
linkTitle: "BTC挖矿"
weight: 3
date: 2022-04-19
description: >
ChainX user guide
description: Deposit BTC, Reward PCX
---

### 4 XBTC挖矿
Expand Down
6 changes: 3 additions & 3 deletions content/zh/docs/chainx/Validators/_index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "验证人"
linkTitle: "验证人"
title: "验证节点指南"
linkTitle: "验证节点指南"
weight: 4
date: 2022-04-20
description: ChainX validator guide
---

{{% pageinfo %}}
ChainX 4.0 验证节点指南
验证节点指南
{{% /pageinfo %}}

## 1. 准备事项
Expand Down
12 changes: 5 additions & 7 deletions content/zh/docs/chainx/_index.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@

---
title: "Chainx"
linkTitle: "Chainx"
title: "ChainX"
linkTitle: "ChainX"
weight: 20
menu:
main:
weight: 20
main:
weight: 20
---

{{% pageinfo %}}
Here is the latest documentation of ChainX 2.0.

For the ChainX 1.0 docs, see [https://doc.chainx.org](https://doc.chainx.org).
Here is the latest documentation of ChainX 4.0.
{{% /pageinfo %}}


Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions content/zh/docs/sherpax/Developers/_index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: "开发者"
linkTitle: "开发者"
title: "开发者文档"
linkTitle: "开发者文档"
weight: 5
date: 2017-01-05
description: The develop documentation.
date: 2022-04-21
description: SherpaX developer documentation.
---

{{% pageinfo %}}
Expand Down
7 changes: 3 additions & 4 deletions content/zh/docs/sherpax/Users/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: "用户"
linkTitle: "用户"
title: "用户指南"
linkTitle: "用户指南"
weight: 3
date: 2022-04-19
description: >
ChainX user guide
description: SherpaX user guide
---

{{% pageinfo %}}
Expand Down
14 changes: 6 additions & 8 deletions content/zh/docs/sherpax/_index.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@

---
title: "Sherpax"
linkTitle: "Sherpax"
title: "SherpaX"
linkTitle: "SherpaX"
weight: 20
menu:
main:
weight: 20
main:
weight: 20
---

{{% pageinfo %}}
Here is the latest documentation of ChainX 2.0.

For the ChainX 1.0 docs, see [https://doc.chainx.org](https://doc.chainx.org).
Here is the latest documentation of SherpaX.
{{% /pageinfo %}}


All of ChainX documentation
All of SherpaX documentation

0 comments on commit c57baf3

Please sign in to comment.