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...
19 lines
426 B
ReStructuredText
19 lines
426 B
ReStructuredText
LocalIndexUpdated
|
|
-----------------
|
|
|
|
Generated when the local index information has changed, due to
|
|
synchronizing one or more items from the cluster or discovering local
|
|
changes during a scan.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"id": 59,
|
|
"type": "LocalIndexUpdated",
|
|
"time": "2014-07-17T13:27:28.051369434+02:00",
|
|
"data": {
|
|
"folder": "default",
|
|
"items": 1000,
|
|
}
|
|
}
|