mirror of
https://github.com/syncthing/syncthing.git
synced 2026-04-09 17:08:05 -04:00
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
433 B
ReStructuredText
19 lines
433 B
ReStructuredText
DeviceDiscovered
|
|
----------------
|
|
|
|
Emitted when a new device is discovered using local discovery.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"id": 13,
|
|
"type": "DeviceDiscovered",
|
|
"time": "2014-07-17T13:28:05.043465207+02:00",
|
|
"data": {
|
|
"addrs": [
|
|
"172.16.32.25:22000"
|
|
],
|
|
"device": "NFGKEKE-7Z6RTH7-I3PRZXS-DEJF3UJ-FRWJBFO-VBBTDND-4SGNGVZ-QUQHJAG"
|
|
}
|
|
}
|