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...
18 lines
387 B
ReStructuredText
18 lines
387 B
ReStructuredText
GET /rest/stats/folder
|
|
======================
|
|
|
|
Returns general statistics about folders. Currently, only contains the
|
|
last synced file.
|
|
|
|
.. code-block:: bash
|
|
|
|
$ curl -s http://localhost:8384/rest/stats/folder | json
|
|
{
|
|
"folderid" : {
|
|
"lastFile" : {
|
|
"filename" : "file/name",
|
|
"at" : "2015-04-16T22:04:18.3066971+01:00"
|
|
}
|
|
}
|
|
}
|