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
324 B
ReStructuredText
15 lines
324 B
ReStructuredText
GET /rest/db/completion
|
|
=======================
|
|
|
|
Returns the completion percentage (0 to 100) for a given device and
|
|
folder.Takes ``device`` and ``folder`` parameters.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"completion": 0
|
|
}
|
|
|
|
.. note::
|
|
This is an expensive call, increasing CPU and RAM usage on the device. Use sparingly.
|