Sphinx uses .. code-block:: directives to enable highlighting:
http://sphinx-doc.org/markup/code.html#directive-code-block
Use
for i in *.rst; do
sed -i 's/code::/code-block::/g' $i
done
to update these strings to enable proper highlighting.
Note: A have disabled the windows "bash" one, because the highlighting
is broken anyway...
18 lines
414 B
ReStructuredText
18 lines
414 B
ReStructuredText
DeviceRejected
|
|
--------------
|
|
|
|
Emitted when there is a connection from a device we are not configured
|
|
to talk to.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"id": 24,
|
|
"type": "DeviceRejected",
|
|
"time": "2014-08-19T10:43:00.562821045+02:00",
|
|
"data": {
|
|
"address": "127.0.0.1:51807",
|
|
"device": "EJHMPAQ-OGCVORE-ISB4IS3-SYYVJXF-TKJGLTU-66DIQPF-GJ5D2GX-GQ3OWQK"
|
|
}
|
|
}
|