Skip to content

Commit

Permalink
docs: fix indentations on the getting started guide (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurokobo authored Jul 24, 2024
1 parent 3b048b7 commit 06fd6b1
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions docs/source/getting_started_guide/creating_a_basic_network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ Receptor configurations

1. Create three configuration files, one for each node.

``foo.yml``
``foo.yml``

.. code-block:: yaml
---
- node:
id: foo
id: foo
- control-service:
service: control
filename: /tmp/foo.sock
service: control
filename: /tmp/foo.sock
- tcp-peer:
address: localhost:2222
redial: true
address: localhost:2222
redial: true
- log-level: debug
Expand All @@ -46,14 +46,14 @@ Receptor configurations
---
- node:
id: bar
id: bar
- control-service:
service: control
filename: /tmp/bar.sock
service: control
filename: /tmp/bar.sock
- tcp-listener:
port: 2222
port: 2222
- log-level: debug
Expand All @@ -65,27 +65,27 @@ Receptor configurations
---
- node:
id: mal
id: mal
- control-service:
service: control
filename: /tmp/mal.sock
service: control
filename: /tmp/mal.sock
- tcp-peer:
address: localhost:2222
redial: true
address: localhost:2222
redial: true
- log-level: debug
- work-command:
workType: echo
command: bash
params: "-c \"while read -r line; do echo $line; sleep 1; done\""
allowruntimeparams: true
workType: echo
command: bash
params: "-c \"while read -r line; do echo $line; sleep 1; done\""
allowruntimeparams: true
...
1. Run the services in separate terminals.
2. Run the services in separate terminals.

.. code-block:: bash
Expand Down

0 comments on commit 06fd6b1

Please sign in to comment.