2017-12-14 07:23:45 -08:00
|
|
|
doctype html
|
|
|
|
|
2017-12-14 13:41:57 -08:00
|
|
|
html(lang= lang)
|
2017-12-14 07:23:45 -08:00
|
|
|
head
|
|
|
|
meta(charset="UTF-8")
|
2017-12-15 11:10:05 -08:00
|
|
|
meta(name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no")
|
2017-12-14 07:23:45 -08:00
|
|
|
title
|
2017-12-15 07:19:10 -08:00
|
|
|
| #{title} | Misskey Docs
|
2017-12-16 08:41:22 -08:00
|
|
|
link(rel="stylesheet" href="/assets/style.css")
|
2017-12-14 07:23:45 -08:00
|
|
|
block meta
|
2017-12-16 08:41:22 -08:00
|
|
|
base(href=`/${lang}/`)
|
2017-12-14 07:23:45 -08:00
|
|
|
|
|
|
|
body
|
2017-12-14 13:41:57 -08:00
|
|
|
nav
|
|
|
|
ul
|
|
|
|
each doc in common.docs
|
2017-12-15 11:10:05 -08:00
|
|
|
li: a(href=`./${doc.name}`)= doc.title[lang] || doc.title['ja']
|
2017-12-14 13:41:57 -08:00
|
|
|
section
|
|
|
|
h2 API
|
|
|
|
ul
|
|
|
|
li Entities
|
|
|
|
ul
|
|
|
|
each entity in common.entities
|
2017-12-15 11:10:05 -08:00
|
|
|
li: a(href=`./api/entities/${common.kebab(entity)}`)= entity
|
2017-12-14 13:41:57 -08:00
|
|
|
li Endpoints
|
|
|
|
ul
|
|
|
|
each endpoint in common.endpoints
|
2017-12-15 11:10:05 -08:00
|
|
|
li: a(href=`./api/endpoints/${common.kebab(endpoint)}`)= endpoint
|
2017-12-14 07:23:45 -08:00
|
|
|
main
|
|
|
|
block main
|
2017-12-15 07:19:10 -08:00
|
|
|
if content
|
|
|
|
| !{content}
|