Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: docs linter improvements #2404

Merged
merged 14 commits into from
Jun 21, 2024
2 changes: 2 additions & 0 deletions docs/concepts/proof-of-contribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Presentation: https://github.com/gnolang/workshops/tree/main/presentations/2023-

## High-level schema

```
____ ____ ____ __ _ __ __ _
/ __ \_________ ____ / __/ ____ / __/ _________ ____ / /______(_) /_ __ __/ /_(_)___ ____ _____
/ /_/ / ___/ __ \/ __ \/ /_ / __ \/ /_ / ___/ __ \/ __ \/ __/ ___/ / __ \/ / / / __/ / __ \/ __ \/ ___/
Expand Down Expand Up @@ -55,6 +56,7 @@ Presentation: https://github.com/gnolang/workshops/tree/main/presentations/2023-
^ |
| |
+---------------user TXs can publish and call contracts--------------------+
```

## Components

Expand Down
38 changes: 19 additions & 19 deletions docs/gno-tooling/cli/gnodev.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Gnodev allows for quick and efficient development of Gno code.

By watching your development directory, gnodev detects changes in your Gno
code, reflecting them in the state of the node immediately. Gnodev also runs a
local instance of `gnoweb`, allowing you to see the rendering of your Gno code instantly.
local instance of `gnoweb`, allowing you to see the rendering of your Gno code instantly.

## Features
- **In-Memory Node**: Gnodev starts an in-memory node, and automatically loads
the **examples** folder and any user-specified paths.
- **Web Interface Server**: Gnodev automatically starts a `gnoweb` server on
[`localhost:8888`](https://localhost:8888).
[`localhost:8888`](https://localhost:8888).
- **Balances and Keybase Customization**: Users can set account balances, load them from a file, or add new
accounts via a flag.
- **Hot Reload**: Gnodev monitors the **examples** folder, as well as any folder specified as an argument for
Expand Down Expand Up @@ -120,20 +120,20 @@ While `gnodev` is running, the following shortcuts are available:

### Options

| Flag | Effect |
|---------------------|---------------------------------------------------------------------|
| --minimal | Start `gnodev` without loading the examples folder. |
| --no-watch | Disable hot reload. |
| --add-account | Pre-add account(s) in the form `<bech32>[=<amount>]` |
| --balances-file | Load a balance for the user(s) from a balance file. |
| --chain-id | Set node ChainID |
| --deploy-key | Default key name or Bech32 address for uploading packages. |
| --home | Set the path to load user's Keybase. |
| --max-gas | Set the maximum gas per block |
| --no-replay | Do not replay previous transactions upon reload |
| --node-rpc-listener | listening address for GnoLand RPC node |
| --root | gno root directory |
| --server-mode | disable interaction, and adjust logging for server use. |
| --verbose | enable verbose output for development |
| --web-listener | web server listening address |
| --web-help-remote | web server help page's remote addr - default to <node-rpc-listener> |
| Flag | Effect |
|---------------------|-----------------------------------------------------------------------|
| --minimal | Start `gnodev` without loading the examples folder. |
| --no-watch | Disable hot reload. |
| --add-account | Pre-add account(s) in the form `<bech32>[=<amount>]` |
| --balances-file | Load a balance for the user(s) from a balance file. |
| --chain-id | Set node ChainID |
| --deploy-key | Default key name or Bech32 address for uploading packages. |
| --home | Set the path to load user's Keybase. |
| --max-gas | Set the maximum gas per block |
| --no-replay | Do not replay previous transactions upon reload |
| --node-rpc-listener | listening address for GnoLand RPC node |
| --root | gno root directory |
| --server-mode | disable interaction, and adjust logging for server use. |
| --verbose | enable verbose output for development |
| --web-listener | web server listening address |
| --web-help-remote | web server help page's remote addr - defaults to <node-rpc-listener\> |
2 changes: 1 addition & 1 deletion docs/reference/gno-js-client/gno-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Fetches public facing function signatures
* `height` **number** the height for querying.
If omitted, the latest height is used (optional, default `0`)

Returns **Promise<FunctionSignature[]>**
Returns **Promise<FunctionSignature[]\>**

#### Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/gno-js-client/gno-wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Deploys the specified package / realm
#### Parameters

* `gnoPackage` **MemPackage** the package / realm to be deployed
* `funds` **Map<string, number>** the denomination -> value map for funds
* `funds` **Map<string, number\>** the denomination -> value map for funds
* `fee` **TxFee** the custom transaction fee, if any

Returns **Promise<string\>**
Expand Down
192 changes: 0 additions & 192 deletions docs/reference/gnoclient/client.md

This file was deleted.

11 changes: 10 additions & 1 deletion docs/reference/gnoclient/gnoclient.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,13 @@ your Go code
To add Gnoclient to your Go project, run the following command:
```bash
go get github.com/gnolang/gno/gno.land/pkg/gnoclient
```
```

## Reference documentation & usage

To see the full reference documentation for the `gnoclient` package, we recommend
visiting the [`gnoclient godoc page`](https://gnolang.github.io/gno/github.com/gnolang/gno@v0.0.0/gno.land/pkg/gnoclient.html).

For a tutorial on how to use the `gnoclient` package, check out
["How to connect a Go app to Gno.land"](../../how-to-guides/connecting-from-go.md.)

86 changes: 0 additions & 86 deletions docs/reference/gnoclient/signer.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/reference/network-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ id: network-config
| Portal Loop | https://rpc.gno.land:443 | `portal-loop` |
| Testnet 4 | upcoming | upcoming |
| Testnet 3 | https://rpc.test3.gno.land:443 | `test3` |
| Staging | http://rpc.staging.gno.land:26657 | `staging` |
| Staging | http://rpc.staging.gno.land:36657 | `staging` |

### WebSocket endpoints
All networks follow the same pattern for websocket connections:
Expand Down
Loading
Loading