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...
21 lines
447 B
ReStructuredText
21 lines
447 B
ReStructuredText
ItemStarted
|
|
-----------
|
|
|
|
Generated when Syncthing begins synchronizing a file to a newer version.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"id": 93,
|
|
"type": "ItemStarted",
|
|
"time": "2014-07-13T21:22:03.414609034+02:00",
|
|
"data": {
|
|
"item": "test.txt",
|
|
"folder": "default",
|
|
"type": "file",
|
|
"action": "update"
|
|
}
|
|
}
|
|
|
|
The ``action`` field is either ``update`` or ``delete``.
|