new API page in docs

This commit is contained in:
les
2020-02-02 21:08:16 +01:00
parent 2bcf1fc9a0
commit a1073642b5
9 changed files with 185 additions and 10 deletions

View File

@@ -1,20 +1,34 @@
{{#orphans}}
### {{description}}
## {{description}}
{{type.names}}
{{#if_eq type.names 'POST'}}
{: .label .label-orange}
{{else}}
{: .label .label-green}
{{/if_eq}}
`{{name}}`
{{#each params}}
| {{name}} | `{{type.names}}` | {{{description}}} |
{{/each}}
**`{{name}}`**
{{#each customTags}}
> {{tag}} "{{tag}}"
> {{{value}}}
{{/each}}
{{#if params}}
**Params**
{{#each params}}
| {{name}} | `{{type.names}}` | {{{description}}} |
{{/each}}
{{/if}}
{{#each examples}}
{{{this}}}
{{/each}}
---
{{/orphans}}