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...
10 lines
216 B
ReStructuredText
10 lines
216 B
ReStructuredText
GET /rest/svc/lang
|
|
==================
|
|
|
|
Returns a list of canonicalized localization codes, as picked up from
|
|
the ``Accept-Language`` header sent by the browser.
|
|
|
|
.. code-block:: json
|
|
|
|
["sv_sv","sv","en_us","en"]
|