Change .. code:: to .. code-block::
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...
This commit is contained in:
@@ -3,7 +3,7 @@ GET /rest/system/version
|
||||
|
||||
Returns the current Syncthing version information.
|
||||
|
||||
.. code:: json
|
||||
.. code-block:: json
|
||||
|
||||
{
|
||||
"arch": "amd64",
|
||||
|
||||
Reference in New Issue
Block a user