mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
api docs: Filter overridden base parameters.
This commit is contained in:
@@ -226,10 +226,12 @@
|
||||
%endif
|
||||
%if base_params:
|
||||
%for param in sorted(base_params):
|
||||
<tr class="base-param">
|
||||
<th scope="row">${param}</th>
|
||||
<td>${unsafe(safemarkdown(base_params[param], wrap=False))}</td>
|
||||
</tr>
|
||||
%if param not in params:
|
||||
<tr class="base-param">
|
||||
<th scope="row">${param}</th>
|
||||
<td>${unsafe(safemarkdown(base_params[param], wrap=False))}</td>
|
||||
</tr>
|
||||
%endif
|
||||
%endfor
|
||||
%endif
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user