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
432 B
ReStructuredText
18 lines
432 B
ReStructuredText
RemoteIndexUpdated
|
|
------------------
|
|
|
|
Generated each time new index information is received from a device.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"id": 44,
|
|
"type": "RemoteIndexUpdated",
|
|
"time": "2014-07-13T21:04:35.394184435+02:00",
|
|
"data": {
|
|
"device": "NFGKEKE-7Z6RTH7-I3PRZXS-DEJF3UJ-FRWJBFO-VBBTDND-4SGNGVZ-QUQHJAG",
|
|
"folder": "lightroom",
|
|
"items": 1000
|
|
}
|
|
}
|