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:
@@ -6,7 +6,7 @@ Verifies and formats a device ID. Accepts all currently valid formats
|
||||
with trivial substitutions). Takes one parameter, ``id``, and returns
|
||||
either a valid device ID in modern format, or an error.
|
||||
|
||||
.. code:: bash
|
||||
.. code-block:: bash
|
||||
|
||||
$ curl -s http://localhost:8384/rest/svc/deviceid?id=1234 | json
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user