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
282 B
ReStructuredText
14 lines
282 B
ReStructuredText
GET /rest/system/upgrade
|
|
========================
|
|
|
|
Checks for a possible upgrade and returns an object describing the
|
|
newest version and upgrade possibility.
|
|
|
|
.. code-block:: json
|
|
|
|
{
|
|
"latest": "v0.10.27",
|
|
"newer": false,
|
|
"running": "v0.10.27+5-g36c93b7"
|
|
}
|