Skip to content

Commit

Permalink
Unify summary style to use non-bold font.
Browse files Browse the repository at this point in the history
All `<summary><b>...</b></summary>` are simply replaced with `<summary>...</summary>`.
  • Loading branch information
Andrzej Broński authored and andrzej-casper committed Sep 12, 2023
1 parent 063e942 commit aaaa26f
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion source/docs/casper/developers/cli/calling-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The payment amount varies based on each deploy and network [chainspec](../../con
The following sample response contains a `deploy_hash`, needed to verify the changes in global state, as described [here](./installing-contracts.md#querying-global-state).

<details>
<summary><b>Sample response</b></summary>
<summary>Sample response</summary>

```rust
{
Expand Down
8 changes: 4 additions & 4 deletions source/docs/casper/developers/cli/installing-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ casper-client query-global-state \
Here is how your account state would look. Notice that the sample response contains several named keys, including "counter", "counter_package_name", and "version". You can use these values to query the contract state further, as shown in the next example.

<details>
<summary><b>Sample account state</b></summary>
<summary>Sample account state</summary>

```bash
{
Expand Down Expand Up @@ -197,7 +197,7 @@ casper-client query-global-state \
Here is how the sample contract would look and would contain details such as the `contract_package_hash`, the contract `entry_points`, and the `named_keys` for the contract.

<details>
<summary><b>Sample contract state</b></summary>
<summary>Sample contract state</summary>

```bash
{
Expand Down Expand Up @@ -257,7 +257,7 @@ casper-client query-global-state \
```

<details>
<summary><b>Sample stored value</b></summary>
<summary>Sample stored value</summary>

```bash
{
Expand Down Expand Up @@ -308,7 +308,7 @@ casper-client query-global-state \
Here is how the contract package details would look. The response would contain the `contract_hash`, which you would need to [call a contract by hash](./calling-contracts.md#calling-contracts-by-hash) in the next section. You would also see the `access_key` for the `ContractPackage` and the current `contract_version`.

<details>
<summary><b>Sample contract package state</b></summary>
<summary>Sample contract package state</summary>

```bash
{
Expand Down
8 changes: 4 additions & 4 deletions source/docs/casper/developers/cli/querying-global-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ casper-client query-global-state \
Here is how your account state would look. Notice that the sample response contains several named keys, including "counter", "counter_package_name", and "version". You can use these values to query the contract state further, as shown in the next example.

<details>
<summary><b>Sample account state</b></summary>
<summary>Sample account state</summary>

```bash
{
Expand Down Expand Up @@ -134,7 +134,7 @@ casper-client query-global-state \
Here is how the sample contract would look and would contain details such as the `contract_package_hash`, the contract `entry_points`, and the `named_keys` for the contract.

<details>
<summary><b>Sample contract state</b></summary>
<summary>Sample contract state</summary>

```bash
{
Expand Down Expand Up @@ -194,7 +194,7 @@ casper-client query-global-state \
```

<details>
<summary><b>Sample stored value</b></summary>
<summary>Sample stored value</summary>

```bash
{
Expand Down Expand Up @@ -245,7 +245,7 @@ casper-client query-global-state \
Here is how the contract package details would look. The response would contain the `contract_hash`, which you would need to [call a contract by hash](./calling-contracts.md#calling-contracts-by-hash) in the next section. You would also see the `access_key` for the `ContractPackage` and the current `contract_version`.

<details>
<summary><b>Sample contract package state</b></summary>
<summary>Sample contract package state</summary>

```bash
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ casper-client query-global-state \
- `key` - The base key for the query. This must be a properly formatted transfer address.

<details>
<summary><b>Explore the JSON-RPC request and response generated.</b></summary>
<summary>Explore the JSON-RPC request and response generated.</summary>

**JSON-RPC Request**:

Expand Down Expand Up @@ -97,7 +97,7 @@ casper-client get-state-root-hash --node-address [NODE_SERVER_ADDRESS]
```

<details>
<summary><b>Sample output of the get-state-root-hash command</b></summary>
<summary>Sample output of the get-state-root-hash command</summary>

```json
{
Expand Down
52 changes: 26 additions & 26 deletions source/docs/casper/developers/json-rpc/json-rpc-informational.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This method returns the JSON representation of a [Block](../../concepts/design/c

<details>

<summary><b>Example chain_get_block request</b></summary>
<summary>Example chain_get_block request</summary>

```bash

Expand Down Expand Up @@ -45,7 +45,7 @@ The result from `chain_get_block` depends on block availability from a given nod

<details>

<summary><b>Example chain_get_block result</b></summary>
<summary>Example chain_get_block result</summary>

```bash

Expand Down Expand Up @@ -128,7 +128,7 @@ This method returns all **successful** native transfers within a given [Block](.

<details>

<summary><b>Example chain_get_block_transfers request</b></summary>
<summary>Example chain_get_block_transfers request</summary>

```bash

Expand Down Expand Up @@ -156,7 +156,7 @@ This method returns all **successful** native transfers within a given [Block](.

<details>

<summary><b>Example chain_get_block_transfers result</b></summary>
<summary>Example chain_get_block_transfers result</summary>

```bash

Expand Down Expand Up @@ -195,7 +195,7 @@ This method returns the era summary at a given [Block](../../concepts/design/cas

<details>

<summary><b>Example chain_get_era_summary request</b></summary>
<summary>Example chain_get_era_summary request</summary>

```bash

Expand Down Expand Up @@ -223,7 +223,7 @@ This method returns the era summary at a given [Block](../../concepts/design/cas

<details>

<summary><b>Example chain_get_era_summary result</b></summary>
<summary>Example chain_get_era_summary result</summary>

```bash

Expand Down Expand Up @@ -326,7 +326,7 @@ This method returns a state root hash at a given [Block](../../concepts/design/c

<details>

<summary><b>Example chain_get_state_root_hash request</b></summary>
<summary>Example chain_get_state_root_hash request</summary>

```bash

Expand Down Expand Up @@ -354,7 +354,7 @@ This method returns a state root hash at a given [Block](../../concepts/design/c

<details>

<summary><b>Example chain_get_state_root_hash result</b></summary>
<summary>Example chain_get_state_root_hash result</summary>

```bash

Expand All @@ -377,7 +377,7 @@ This method returns raw bytes for chainspec files.

<details>

<summary><b>Example info_get_chainspec request</b></summary>
<summary>Example info_get_chainspec request</summary>

```bash

Expand All @@ -400,7 +400,7 @@ This method returns raw bytes for chainspec files.

<details>

<summary><b>Example info_get_chainspec result</b></summary>
<summary>Example info_get_chainspec result</summary>

Please note that adding a `--vv` flag will return the full chainspec bytes.

Expand Down Expand Up @@ -434,7 +434,7 @@ This method retrieves a [Deploy](../../concepts/design/casper-design.md#executio

<details>

<summary><b>Example info_get_deploy request</b></summary>
<summary>Example info_get_deploy request</summary>

```bash

Expand Down Expand Up @@ -466,7 +466,7 @@ If the `execution_results` field is empty, it means that the network processed t

<details>

<summary><b>Example info_get_deploy result</b></summary>
<summary>Example info_get_deploy result</summary>

```bash

Expand Down Expand Up @@ -581,7 +581,7 @@ This method allows you to query for the balance of a purse using a `PurseIdentif

<details>

<summary><b>Example query_balance request</b></summary>
<summary>Example query_balance request</summary>

```bash
{
Expand Down Expand Up @@ -618,7 +618,7 @@ This method allows you to query for the balance of a purse using a `PurseIdentif

<details>

<summary><b>Example query_balance result</b></summary>
<summary>Example query_balance result</summary>

```bash

Expand Down Expand Up @@ -649,7 +649,7 @@ This method allows for you to query for a value stored under certain keys in glo

<details>

<summary><b>Example query_global_state request</b></summary>
<summary>Example query_global_state request</summary>

```bash

Expand Down Expand Up @@ -681,7 +681,7 @@ This method allows for you to query for a value stored under certain keys in glo

<details>

<summary><b>Example query_global_state result</b></summary>
<summary>Example query_global_state result</summary>

```bash

Expand Down Expand Up @@ -767,7 +767,7 @@ This method returns a JSON representation of an [Account](../../concepts/design/

<details>

<summary><b>Example state_get_account_info request</b></summary>
<summary>Example state_get_account_info request</summary>

```bash

Expand Down Expand Up @@ -797,7 +797,7 @@ This method returns a JSON representation of an [Account](../../concepts/design/

<details>

<summary><b>Example state_get_account_info result</b></summary>
<summary>Example state_get_account_info result</summary>

```bash

Expand Down Expand Up @@ -843,7 +843,7 @@ For instance, one native layer-1 token of the Casper Mainnet [CSPR](../../concep
|purse_uref|String|Formatted URef.|

<details>
<summary><b>Example state_get_balance request</b></summary>
<summary>Example state_get_balance request</summary>

```bash

Expand All @@ -870,7 +870,7 @@ For instance, one native layer-1 token of the Casper Mainnet [CSPR](../../concep
|[merkle_proof](types_chain.md#merkle-proof)|String|The merkle proof.|

<details>
<summary><b>Example state_get_balance result</b></summary>
<summary>Example state_get_balance result</summary>

```bash

Expand Down Expand Up @@ -901,7 +901,7 @@ You may query a stored value directly using the dictionary address.

<details>

<summary><b>Example state_get_dictionary_item request</b></summary>
<summary>Example state_get_dictionary_item request</summary>

```bash

Expand Down Expand Up @@ -935,7 +935,7 @@ You may query a stored value directly using the dictionary address.

<details>

<summary><b>Example state_get_dictionary_item result</b></summary>
<summary>Example state_get_dictionary_item result</summary>

```bash

Expand Down Expand Up @@ -975,7 +975,7 @@ This method returns a list of peers connected to the node.

<details>

<summary><b>Example info_get_peers request</b></summary>
<summary>Example info_get_peers request</summary>

```bash

Expand All @@ -999,7 +999,7 @@ This method returns a list of peers connected to the node.

<details>

<summary><b>Example info_get_peers result</b></summary>
<summary>Example info_get_peers result</summary>

```bash

Expand Down Expand Up @@ -1027,7 +1027,7 @@ This method returns the current status of a node.

<details>

<summary><b>Example info_get_status request</b></summary>
<summary>Example info_get_status request</summary>

```bash

Expand Down Expand Up @@ -1063,7 +1063,7 @@ This method returns the current status of a node.

<details>

<summary><b>Example info_get_status result</b></summary>
<summary>Example info_get_status result</summary>

```bash

Expand Down
12 changes: 6 additions & 6 deletions source/docs/casper/developers/json-rpc/json-rpc-pos.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This method returns the [bids](../../concepts/economics/consensus.md#bids) and [

<details>

<summary><b>Example state_get_auction_info request</b></summary>
<summary>Example state_get_auction_info request</summary>

```bash

Expand Down Expand Up @@ -42,7 +42,7 @@ This method returns the [bids](../../concepts/economics/consensus.md#bids) and [

<details>

<summary><b>Example state_get_auction_info result</b></summary>
<summary>Example state_get_auction_info result</summary>

```bash

Expand Down Expand Up @@ -102,7 +102,7 @@ Potential change types:

<details>

<summary><b>Example info_get_validator_changes request</b></summary>
<summary>Example info_get_validator_changes request</summary>

```bash

Expand All @@ -128,7 +128,7 @@ If no changes occurred in the current era, `info_get_validator_changes` will ret

<details>

<summary><b>Example info_get_validator_changes result</b></summary>
<summary>Example info_get_validator_changes result</summary>

```bash

Expand Down Expand Up @@ -165,7 +165,7 @@ This method returns an EraInfo from the network. Only the last Block in an `era`

<details>

<summary><b>Example chain_get_era_info_by_switch_block request</b></summary>
<summary>Example chain_get_era_info_by_switch_block request</summary>

```bash

Expand Down Expand Up @@ -193,7 +193,7 @@ This method returns an EraInfo from the network. Only the last Block in an `era`

<details>

<summary><b>Example chain_get_era_info_by_switch_block</b></summary>
<summary>Example chain_get_era_info_by_switch_block</summary>

```bash

Expand Down
Loading

0 comments on commit aaaa26f

Please sign in to comment.