mirror of
https://github.com/syncthing/syncthing.git
synced 2026-04-08 08:27:56 -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...
21 lines
580 B
ReStructuredText
21 lines
580 B
ReStructuredText
FolderCompletion
|
|
----------------
|
|
|
|
The ``FolderCompletion`` event is emitted when the local or remote
|
|
contents for a folder changes. It contains the completion percentage for
|
|
a given remote device and is emitted once per currently connected remote
|
|
device.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"id": 84,
|
|
"type": "FolderCompletion",
|
|
"time": "2015-04-17T14:14:27.043576583+09:00",
|
|
"data": {
|
|
"completion": 100,
|
|
"device": "I6KAH76-66SLLLB-5PFXSOA-UFJCDZC-YAOMLEK-CP2GB32-BV5RQST-3PSROAU",
|
|
"folder": "default"
|
|
}
|
|
}
|