mirror of
https://github.com/syncthing/syncthing.git
synced 2026-04-09 08:58: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...
14 lines
336 B
ReStructuredText
14 lines
336 B
ReStructuredText
GET /rest/system/version
|
|
========================
|
|
|
|
Returns the current Syncthing version information.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"arch": "amd64",
|
|
"longVersion": "syncthing v0.10.27+3-gea8c3de (go1.4 darwin-amd64 default) jb@syno 2015-03-16 11:01:29 UTC",
|
|
"os": "darwin",
|
|
"version": "v0.10.27+3-gea8c3de"
|
|
}
|