Skip to content

Commit

Permalink
[docs] Minor improvements in OpenWrt backend page
Browse files Browse the repository at this point in the history
 * corrected typo
 * explained "files" is a custom NetJSON extension
  • Loading branch information
nemesifier committed Dec 4, 2015
1 parent 8242a1a commit 6833c64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/backends/openwrt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ follows:
| ``mode`` | string | no | permissions, if omitted will default to ``0644`` |
+-------------------+----------------+----------+----------------------------------------------------------+

The ``files`` key of the *configuration dictionary* is a custom NetJSON extension not
present in the original NetJSON RFC.

.. warning::
The files won't be included in the output of the ``render`` method because
doing so would make the UCI output invalid.
Expand Down Expand Up @@ -232,7 +235,7 @@ Will return the following output::
General settings
----------------

The the general settings reside in the ``general`` key of the
The general settings reside in the ``general`` key of the
*configuration dictionary*, which follows the
`NetJSON General object <http://netjson.org/rfc.html#general1>`_ definition
(see the link for the detailed specification).
Expand Down

0 comments on commit 6833c64

Please sign in to comment.