良い感じに

This commit is contained in:
syuilo
2018-07-16 03:53:03 +09:00
parent 1744316656
commit 3a02a7dad8
5 changed files with 29 additions and 17 deletions

View File

@ -14,17 +14,19 @@ block main
| /
span.path= url.path
p#desc= desc[lang] || desc['ja']
if desc
p#desc= desc[lang] || desc['ja']
section
h2= i18n('docs.api.endpoints.params')
+propTable(params)
if params
section
h2= i18n('docs.api.endpoints.params')
+propTable(params)
if paramDefs
each paramDef in paramDefs
section(id= paramDef.name)
h3= paramDef.name
+propTable(paramDef.params)
if paramDefs
each paramDef in paramDefs
section(id= paramDef.name)
h3= paramDef.name
+propTable(paramDef.params)
if res
section

View File

@ -25,7 +25,7 @@ html(lang= lang)
li Endpoints
ul
each endpoint in endpoints
li: a(href=`/docs/${lang}/api/endpoints/${kebab(endpoint)}`)= endpoint
li: a(href=`/docs/${lang}/api/endpoints/${kebab(endpoint.name)}`)= endpoint.name
main
article
block main

View File

@ -60,6 +60,10 @@ nav
background #fff
border-right solid 2px #eee
ul
padding 0
margin 0
@media (max-width 1025px)
main
margin 0