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:
Stefan Tatschner
2015-05-29 16:24:58 +02:00
parent 892ad9de74
commit e5242d68b4
44 changed files with 48 additions and 48 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ ItemFinished
Generated when Syncthing ends synchronizing a file to a newer version. A
successful operation:
.. code:: json
.. code-block:: json
{
"id": 93,
@@ -21,7 +21,7 @@ successful operation:
An unsuccessful operation:
.. code:: json
.. code-block:: json
{
"id": 44,