Skip to content

Commit dcde503

Browse files
committed
Updated docs
1 parent c14f6aa commit dcde503

29 files changed

+2335
-59
lines changed

RNS/Utilities/rnpath.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def program_setup(configdir, destination_hexhash, verbosity):
4040
next_hop = RNS.prettyhexrep(reticulum.get_next_hop(destination_hash))
4141
next_hop_interface = reticulum.get_next_hop_if_name(destination_hash)
4242

43-
if hops > 1:
43+
if hops != 1:
4444
ms = "s"
4545
else:
4646
ms = ""

RNS/Utilities/rnprobe.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def program_setup(configdir, destination_hexhash, size=DEFAULT_PROBE_SIZE, full_
7171
receipt = probe.send()
7272

7373
if more_output:
74-
more = " via "+RNS.prettyhexrep(RNS.Transport.next_hop(destination_hash))+" on "+str(RNS.Transport.next_hop_interface(destination_hash))
74+
more = " via "+RNS.prettyhexrep(reticulum.get_next_hop(destination_hash))+" on "+str(reticulum.get_next_hop_if_name(destination_hash))
7575
else:
7676
more = ""
7777

@@ -88,7 +88,7 @@ def program_setup(configdir, destination_hexhash, size=DEFAULT_PROBE_SIZE, full_
8888
sys.stdout.flush()
8989

9090
hops = RNS.Transport.hops_to(destination_hash)
91-
if hops > 1:
91+
if hops != 1:
9292
ms = "s"
9393
else:
9494
ms = ""

docs/Reticulum Manual.pdf

31 KB
Binary file not shown.

docs/manual/_sources/examples.rst.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
.. _examples-main:
22

3-
********
4-
Examples
5-
********
3+
*************
4+
Code Examples
5+
*************
6+
67
A number of examples are included in the source distribution of Reticulum.
78
You can use these examples to learn how to write your own programs.
89

docs/manual/_sources/gettingstartedfast.rst.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ To communicate further, you will have to add one or more interfaces. The default
4747
configuration includes a number of examples, ranging from using TCP over the
4848
internet, to LoRa and Packet Radio interfaces.
4949

50-
Possibly, the examples in the config file are enough to gen you started. If
51-
you want more information, you can read the :ref:`Interfaces<interfaces-main>`
52-
chapter of this manual.
50+
Possibly, the examples in the config file are enough to get you started. If
51+
you want more information, you can read the :ref:`Building Networks<networks-main>`
52+
and :ref:`Interfaces<interfaces-main>` chapters of this manual.
5353

5454

5555
Develop a Program with Reticulum

docs/manual/_sources/index.rst.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
Reticulum Network Stack Manual
33
******************************
44
This manual aims to provide you with all the information you need to
5-
understand Reticulum, develop programs using it, or to participate in
6-
the development of Reticulum itself.
5+
understand Reticulum, build networks or develop programs using it, or
6+
to participate in the development of Reticulum itself.
77

88
.. toctree::
99
:maxdepth: 3
1010

1111
whatis
1212
gettingstartedfast
13+
using
1314
networks
15+
interfaces
1416
understanding
1517
reference
1618
examples

0 commit comments

Comments
 (0)