Skip to content

Commit b6323f4

Browse files
committed
Docs: Avoid warnings by Sphinx's syntax highlighter
1 parent 2b9104d commit b6323f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/API.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ return a JSON object with the following structure:
2121

2222
.. sourcecode:: json
2323

24-
{"login_data": string}
24+
{"login_data": "string"}
2525

2626
The content of the returned login data string should be passed to API calls
2727
that require authentication in a `X-CMS-Authorization` header.
@@ -36,7 +36,7 @@ running, will return the following object:
3636

3737
.. sourcecode:: json
3838

39-
{"tasks": [{"name": string, "statements": [string], "submission_format": [string] }]}
39+
{"tasks": [{"name": "string", "statements": ["string"], "submission_format": ["string"] }]}
4040

4141

4242
Tasks are ordered in the same order as in the UI. The `name` of the task is
@@ -57,7 +57,7 @@ The request will return an object with the ID of the new submission:
5757

5858
.. sourcecode:: json
5959

60-
{"id": string}
60+
{"id": "string"}
6161

6262

6363
List submissions
@@ -69,7 +69,7 @@ chronological order:
6969

7070
.. sourcecode:: json
7171

72-
{"list": [{"id": string}]}
72+
{"list": [{"id": "string"}]}
7373

7474
Task statement
7575
==============

0 commit comments

Comments
 (0)