summaryrefslogtreecommitdiff
path: root/doc/developer/scripting.rst
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-03-16 11:27:59 -0400
committerMark Stapp <mjs@voltanet.io>2021-03-16 11:27:59 -0400
commit4f32d35ca9ef88d285388248371ea0ace3b982f7 (patch)
tree7f3c2c4e728a60b65c5acee591bbe42c436639bb /doc/developer/scripting.rst
parent81ef5048dd229570f27c524d6d6268caecf3b663 (diff)
doc: fix warnings in dev docs
Fix a couple of warnings in dev doc rst files. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'doc/developer/scripting.rst')
-rw-r--r--doc/developer/scripting.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/developer/scripting.rst b/doc/developer/scripting.rst
index b0413619ab..708f65ff7d 100644
--- a/doc/developer/scripting.rst
+++ b/doc/developer/scripting.rst
@@ -271,7 +271,7 @@ has). For example, here is the encoder function for ``struct prefix``:
This function pushes a single value onto the Lua stack. It is a table whose equivalent in Lua is:
-.. code-block::
+.. code-block:: c
{ ["network"] = "1.2.3.4/24", ["prefixlen"] = 24, ["family"] = 2 }