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...
15 lines
320 B
ReStructuredText
15 lines
320 B
ReStructuredText
StartupCompleted
|
|
----------------
|
|
|
|
Emitted exactly once, when initialization is complete and Syncthing is
|
|
ready to start exchanging data with other devices.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"id": 1,
|
|
"type": "StartupComplete",
|
|
"time": "2014-07-13T21:03:18.383239179+02:00",
|
|
"data": null
|
|
}
|