Skip to content

Commit

Permalink
docs: change reference contents to developer-guides (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
geometryolife authored Sep 25, 2023
1 parent c449a54 commit c815906
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 49 deletions.
15 changes: 15 additions & 0 deletions docs/website/pages/docs/developer-guides/library.en-US.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Rooch's built-in library

Rooch currently has three built-in standard libraries, namely `MoveStdlib`, `MoveosStdlib` and `RoochFramework`.

The addresses of the three libraries in Move are:

- `MoveStdlib`: `0x1`
- `MoveosStdlib`: `0x2`
- `RoochFramework`: `0x3`

## Documentation link

- [MoveStdlib](https://github.com/rooch-network/rooch/tree/main/moveos/moveos-stdlib/move-stdlib/doc)
- [MoveosStdlib](https://github.com/rooch-network/rooch/edit/main/moveos/moveos-stdlib/moveos-stdlib/doc)
- [RoochFramework](https://github.com/rooch-network/rooch/tree/main/crates/rooch-framework/doc)
15 changes: 15 additions & 0 deletions docs/website/pages/docs/developer-guides/library.zh-CN.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Rooch 的内置库

Rooch 当前内置了三个标准库,分别是 `MoveStdlib``MoveosStdlib``RoochFramework`

三个库在 Move 中的地址分别是:

- `MoveStdlib``0x1`
- `MoveosStdlib``0x2`
- `RoochFramework``0x3`

## 文档链接

- [MoveStdlib](https://github.com/rooch-network/rooch/tree/main/moveos/moveos-stdlib/move-stdlib/doc)
- [MoveosStdlib](https://github.com/rooch-network/rooch/edit/main/moveos/moveos-stdlib/moveos-stdlib/doc)
- [RoochFramework](https://github.com/rooch-network/rooch/tree/main/crates/rooch-framework/doc)
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Rooch JSON-RPC Document
# Rooch JSON-RPC

## Type Conversions

- `u64`, `u128`, `u256` are represented as strings in JSON.
- `ObjectID` and `address` are represented in JSON as hexadecimal strings beginning with '0x'.
- `ObjectID` and `address` are represented in JSON as hexadecimal strings beginning with `0x`.

## Reference

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Rooch JSON-RPC 文档
# Rooch JSON-RPC

## 类型转换说明

- `u64`, `u128`, `u256`json 中用 string 来表达
- `ObjectID`, `address`json 中用以 `0x` 开头的 hex string 来表达
- `u64``u128``u256`JSON 中用 string 来表示。
- `ObjectID``address`JSON 中用以 `0x` 开头的 hex string 来表示

## 引用

Expand Down
4 changes: 0 additions & 4 deletions docs/website/pages/docs/reference/_meta.en-US.json

This file was deleted.

4 changes: 0 additions & 4 deletions docs/website/pages/docs/reference/_meta.zh-CN.json

This file was deleted.

18 changes: 0 additions & 18 deletions docs/website/pages/docs/reference/framework.en-US.mdx

This file was deleted.

18 changes: 0 additions & 18 deletions docs/website/pages/docs/reference/framework.zh-CN.mdx

This file was deleted.

0 comments on commit c815906

Please sign in to comment.