Fix api-ref building with sphinx 1.5

Sphinx 1.5 complains about "Could not lex literal_block as "json".
Highlighting skipped." - and fails to build.

Change the problematic code to use javascript for highlighting - it's
only a json snippet, not a full json file.

Change-Id: I65558119dcc166bd25f12568b480498cac80c653
This commit is contained in:
Andreas Jaeger 2017-03-05 08:21:29 +01:00
parent 57dcde7224
commit 6d2a7171ad
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ token has an OAuth-specific object.
Example OAuth-specific object in a token:
.. code-block:: json
.. code-block:: javascript
"OS-OAUTH1": {
"access_token_id": "cce0b8be7"