This commit is contained in:
syuilo
2017-12-17 01:41:22 +09:00
parent b563a67b8a
commit 0769566408
24 changed files with 65 additions and 42 deletions

View File

@@ -2,7 +2,7 @@ extends ../../layout.pug
include ../mixins
block meta
link(rel="stylesheet" href="/assets/docs/api/endpoints/style.css")
link(rel="stylesheet" href="/assets/api/endpoints/style.css")
block main
h1= endpoint

View File

@@ -2,7 +2,7 @@ extends ../../layout.pug
include ../mixins
block meta
link(rel="stylesheet" href="/assets/docs/api/entities/style.css")
link(rel="stylesheet" href="/assets/api/entities/style.css")
block main
h1= name

View File

@@ -14,13 +14,13 @@ mixin propTable(props)
if prop.kind == 'id'
if prop.entity
| (
a(href=`/docs/${lang}/api/entities/${kebab(prop.entity)}`)= prop.entity
a(href=`/${lang}/api/entities/${kebab(prop.entity)}`)= prop.entity
| ID)
else
| (ID)
else if prop.kind == 'entity'
| (
a(href=`/docs/${lang}/api/entities/${kebab(prop.entity)}`)= prop.entity
a(href=`/${lang}/api/entities/${kebab(prop.entity)}`)= prop.entity
| )
else if prop.kind == 'object'
if prop.def