Skip to content

Commit 2f625ce

Browse files
Merge pull request #43 from jposada202020/correcting_readthedocs_API
readthedocs_API_improvement
2 parents 0844e35 + 97b1583 commit 2f625ce

File tree

9 files changed

+48
-9
lines changed

9 files changed

+48
-9
lines changed

adafruit_tinylora/adafruit_tinylora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
"""
6-
`Adafruit_TinyLoRa`
6+
`adafruit_tinylora`
77
====================================================
88
CircuitPython LoRaWAN implementation for use with
99
The Things Network.

adafruit_tinylora/adafruit_tinylora_encryption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: MIT
55

66
"""
7-
`adafruit_tinylora_encryption.py`
7+
`adafruit_tinylora_encryption`
88
======================================================
99
Required tinyLoRA Encryption Methods for AES and
1010
Message Integrity checks.

adafruit_tinylora/ttn_as.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MIT
44

55
"""
6-
`ttn_as.py`
6+
`ttn_as`
77
======================================================
88
AS920 The Things Network Frequency Plans
99
* Author(s): Brent Rubell

adafruit_tinylora/ttn_au.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MIT
44

55
"""
6-
`ttn_au.py`
6+
`ttn_au`
77
======================================================
88
The Things Network Frequency Plans - AU915
99
* Author(s): Brent Rubell

adafruit_tinylora/ttn_cn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: MIT
55

66
"""
7-
`ttn_cn.py`
7+
`ttn_cn`
88
======================================================
99
The Things Network Frequency Plans - CN470
1010
* Author(s): IAMLIUBO

adafruit_tinylora/ttn_eu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MIT
44

55
"""
6-
`ttn_eu.py`
6+
`ttn_eu`
77
======================================================
88
The Things Network Frequency Plans - EU863
99
* Author(s): Brent Rubell

adafruit_tinylora/ttn_usa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MIT
44

55
"""
6-
`ttn_usa.py`
6+
`ttn_usa`
77
======================================================
88
The Things Network Frequency Plans - US902
99
* Author(s): Brent Rubell

docs/api.rst

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,28 @@
44
.. If your library file(s) are nested in a directory (e.g. /adafruit_foo/foo.py)
55
.. use this format as the module name: "adafruit_foo.foo"
66
7-
TinyLoRa
8-
========
97
.. automodule:: adafruit_tinylora
108
:members:
9+
:member-order: bysource
10+
11+
12+
.. automodule:: adafruit_tinylora.adafruit_tinylora
13+
:members:
14+
15+
.. automodule:: adafruit_tinylora.adafruit_tinylora_encryption
16+
:members:
17+
18+
.. automodule:: adafruit_tinylora.ttn_as
19+
:members:
20+
21+
.. automodule:: adafruit_tinylora.ttn_au
22+
:members:
23+
24+
.. automodule:: adafruit_tinylora.ttn_cn
25+
:members:
26+
27+
.. automodule:: adafruit_tinylora.ttn_eu
28+
:members:
29+
30+
.. automodule:: adafruit_tinylora.ttn_usa
31+
:members:

docs/examples.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,21 @@ Ensure your device works with this simple test.
66
.. literalinclude:: ../examples/tinylora_simpletest.py
77
:caption: examples/tinylora_simpletest.py
88
:linenos:
9+
10+
Using TinyLora with a Sensor
11+
----------------------------
12+
13+
Using TinyLoRa with a Si7021 Sensor
14+
15+
.. literalinclude:: ../examples/tinylora_simpletest_si7021.py
16+
:caption: examples/tinylora_simpletest_si7021.py
17+
:linenos:
18+
19+
Using a single Channel
20+
----------------------
21+
22+
Ensure your device works with this simple test.
23+
24+
.. literalinclude:: ../examples/tinylora_simpletest_single_channel.py
25+
:caption: examples/tinylora_simpletest_single_channel.py
26+
:linenos:

0 commit comments

Comments
 (0)