Skip to content

Commit bc892cd

Browse files
committed
[airos] fixed docs build issue
1 parent 3472026 commit bc892cd

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

docs/source/backends/airos.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The ``AirOs`` backend allows to generate AirOS v8.3 compatible configurations.
99
.. warning::
1010
This backend is experimental, please read this document carefully to prevent misconfiguration problems
1111

12+
1213
Initialization
1314
--------------
1415

@@ -56,6 +57,11 @@ JSON method
5657
.. automethod:: netjsonconfig.AirOs.json
5758

5859

60+
Extending the backend
61+
---------------------
62+
63+
Please see the :ref:`airos-intermediate-representation` page for extending converters and adding functionalities to this backend
64+
5965
General settings
6066
----------------
6167

@@ -228,6 +234,7 @@ And this shows how to set the authorized ssh public keys
228234
"key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBEEhdDJIbHVHIXQQ8dzH3pfmIbZjlrcIV+YkZM//ezQtINTUbqolCXFsETVVwbCH6d8Pi1v1lCDgILbkOOivTIKUgG8/84yI4VLCH03CAd55IG7IFZe9e6ThT4/MryH8zXKGAq5rnQSW90ashZaOEH0wNTOhkZmQ/QhduJcarevH4iZPrq5eM/ClCXzkF0I/EWN89xKRrjMB09WmuYOT48n5Es08iJxwQ1gKfjk84Fy+hwMKVtOssfBGuYMBWByJwuvW5xCH3H6eVr1GhkBRrlTy6KAkc9kfAsSpkHIyeb/jAS2hr6kAh6cxapKENHxoAdJNvMEpdU11v6PMoOtIb edoput@hypnotoad",
229235
"comment": "my shh key",
230236
"enabled": true
237+
}
231238
]
232239
}
233240
}

docs/source/backends/intermediate.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
=============
2-
AirOS Backend
3-
=============
4-
5-
.. include:: ../_github.rst
6-
1+
.. _airos-intermediate-representation:
72

83
Intermediate representation
94
---------------------------
105

11-
The intermediate representation is the output of the a :ref:`converter`,
6+
The intermediate representation is the output of the a **converter**,
127
it is backend specific and is built as a tree structure made from python
138
builtins values.
149

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Contents:
4949
/general/setup
5050
/general/basics
5151
/backends/airos
52+
/backends/intermediate
5253
/backends/openwrt
5354
/backends/openwisp
5455
/backends/openvpn

0 commit comments

Comments
 (0)