Show embeds in type documentation
This commit is contained in:
24
pages/api/api.pixy
Normal file
24
pages/api/api.pixy
Normal file
@ -0,0 +1,24 @@
|
||||
component API(types []*autodocs.Type)
|
||||
.api-docs
|
||||
h1.mountable API
|
||||
|
||||
h2.mountable Endpoints
|
||||
ul
|
||||
li.mountable
|
||||
strong REST:
|
||||
span https://notify.moe/api
|
||||
li.mountable
|
||||
strong GraphQL:
|
||||
span https://notify.moe/graphql
|
||||
|
||||
h2.mountable Types
|
||||
table.api-types
|
||||
tbody
|
||||
each typ in types
|
||||
tr.mountable
|
||||
td
|
||||
a(href=typ.Endpoint())= typ.Name
|
||||
td= typ.Comment
|
||||
td
|
||||
a(href=typ.GitHubLink())
|
||||
RawIcon("github")
|
Reference in New Issue
Block a user