From 0e81c83a2e1651c704ed6a7d3ee060d15bb23957 Mon Sep 17 00:00:00 2001 From: Nicolas MASSART Date: Mon, 29 Jul 2019 21:46:57 +0200 Subject: [PATCH] fix documentation formatting Double dashes have to be between backticks if you don't want them to be shown as a long dash. Code blocks increment needs to be done by two spaces at a time or it breaks. --- .../Getting-Started-Onchain-Permissioning.md | 9 +++--- docs/Reference/Pantheon-API-Methods.md | 32 +++++++++---------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/docs/Permissions/Onchain-Permissioning/Getting-Started-Onchain-Permissioning.md b/docs/Permissions/Onchain-Permissioning/Getting-Started-Onchain-Permissioning.md index cf9c4889f3..f1dde2d655 100644 --- a/docs/Permissions/Onchain-Permissioning/Getting-Started-Onchain-Permissioning.md +++ b/docs/Permissions/Onchain-Permissioning/Getting-Started-Onchain-Permissioning.md @@ -43,7 +43,6 @@ Add the Ingress contracts to the genesis file for your network by copying them f in the [`permissioning-smart-contracts` repository](https://github.com/PegaSysEng/permissioning-smart-contracts): ```json - "0x0000000000000000000000000000000000008888": { "comment": "Account Ingress smart contract", "balance": "0", @@ -93,16 +92,16 @@ in the network. All nodes participating in a permissioned network must include the command line options to enable account and/or node permissioning: -* [--permissions-accounts-contract-enabled](../../Reference/Pantheon-CLI-Syntax.md#permissions-accounts-contract-enabled) +* [`--permissions-accounts-contract-enabled`](../../Reference/Pantheon-CLI-Syntax.md#permissions-accounts-contract-enabled) to enable onchain accounts permissioning -* [--permissions-accounts-contract-address](../../Reference/Pantheon-CLI-Syntax.md#permissions-accounts-contract-address) +* [`--permissions-accounts-contract-address`](../../Reference/Pantheon-CLI-Syntax.md#permissions-accounts-contract-address) set to the address of the Account Ingress contract in the genesis file (`"0x0000000000000000000000000000000000008888"`) -* [--permissions-nodes-contract-enabled](../../Reference/Pantheon-CLI-Syntax.md#permissions-nodes-contract-enabled) +* [`--permissions-nodes-contract-enabled`](../../Reference/Pantheon-CLI-Syntax.md#permissions-nodes-contract-enabled) to enable onchain nodes permissioning -* [--permissions-nodes-contract-address](../../Reference/Pantheon-CLI-Syntax.md#permissions-nodes-contract-address) +* [`--permissions-nodes-contract-address`](../../Reference/Pantheon-CLI-Syntax.md#permissions-nodes-contract-address) set to the address of the Node Ingress contract in the genesis file (`"0x0000000000000000000000000000000000009999"`) Start your first node with command line options to enable onchain permissioning and the JSON-RPC HTTP host and port diff --git a/docs/Reference/Pantheon-API-Methods.md b/docs/Reference/Pantheon-API-Methods.md index 9feaa83e15..563adbcecb 100644 --- a/docs/Reference/Pantheon-API-Methods.md +++ b/docs/Reference/Pantheon-API-Methods.md @@ -4027,22 +4027,22 @@ Privacy groups containing only the specified members. {"jsonrpc": "2.0","method": "priv_findPrivacyGroup","params": [["negmDcN2P4ODpqn/6WkJ02zT/0w0bjhGpkZ8UP6vARk=", "g59BmTeJIn7HIcnq8VQWgyh/pDbvbt2eyP0Ii60aDDw="]],"id": 1} ``` - ```json tab="JSON result" - { - "jsonrpc": "2.0", - "id": 1, - "result": [ - { - "privacyGroupId": "GpK3ErNO0xF27T0sevgkJ3+4qk9Z+E3HtXYxcKIBKX8=", - "name": "Group B", - "description": "Description of Group B", - "type": "PANTHEON", - "members": [ - "negmDcN2P4ODpqn/6WkJ02zT/0w0bjhGpkZ8UP6vARk=", - "g59BmTeJIn7HIcnq8VQWgyh/pDbvbt2eyP0Ii60aDDw=" - ] - } - ] + ```json tab="JSON result" + { + "jsonrpc": "2.0", + "id": 1, + "result": [ + { + "privacyGroupId": "GpK3ErNO0xF27T0sevgkJ3+4qk9Z+E3HtXYxcKIBKX8=", + "name": "Group B", + "description": "Description of Group B", + "type": "PANTHEON", + "members": [ + "negmDcN2P4ODpqn/6WkJ02zT/0w0bjhGpkZ8UP6vARk=", + "g59BmTeJIn7HIcnq8VQWgyh/pDbvbt2eyP0Ii60aDDw=" + ] + } + ] } ```