Skip to content

Commit 2c5d147

Browse files
committed
better api doc
1 parent eb94e97 commit 2c5d147

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

templates/api_doc.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,18 @@ <h3 class='mt-3'>{{ title }}</h3>
3030
<p>
3131
{% include "api-service-intro.html" with service=title|lower %}
3232
</p>
33-
<div class='text-nowrap'>Response data format(s): {{ service.response_format }}</div>
33+
34+
<table>
35+
<tr><td class='text-nowrap pe-2' style='width:1%'>Response data format(s): </td><td> {{ service.response_format }}</td></tr>
36+
<tr><td class='text-nowrap pe-2' style='width:1%'>Request URL: </td><td> <a href='{{ service.url_path }}' target='_blank'>{{ service.url_path }}</a></td></tr>
37+
<tr><td class='text-nowrap pe-2' style='width:1%'>Request method: </td><td> {{ service.type }}</td></tr>
38+
<tr><td colspan="2">Request parameters:</td></tr>
39+
</table>
40+
41+
<!-- <div class='text-nowrap'>Response data format(s): {{ service.response_format }}</div>
3442
<div class='text-nowrap'>Request URL: <a href='{{ service.url_path }}' target='_blank'>{{ service.url_path }}</a></div>
3543
<div class='text-nowrap'>Request type: {{ service.type }}</div>
36-
<div class='text-nowrap'>Request parameters:</div>
44+
<div class='text-nowrap'>Request parameters:</div> -->
3745

3846
<table class='table border'>
3947
<tr>

0 commit comments

Comments
 (0)