2017-12-14 15:23:45 +00:00
|
|
|
doctype html
|
|
|
|
|
2017-12-14 21:41:57 +00:00
|
|
|
html(lang= lang)
|
2017-12-14 15:23:45 +00:00
|
|
|
head
|
|
|
|
meta(charset="UTF-8")
|
2017-12-15 19:10:05 +00:00
|
|
|
meta(name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no")
|
2017-12-14 15:23:45 +00:00
|
|
|
title
|
2017-12-15 15:19:10 +00:00
|
|
|
| #{title} | Misskey Docs
|
2018-04-13 03:05:24 +00:00
|
|
|
link(rel="stylesheet" href="/docs/assets/style.css")
|
2017-12-14 15:23:45 +00:00
|
|
|
block meta
|
|
|
|
|
2017-12-17 05:35:30 +00:00
|
|
|
//- FontAwesome style
|
2018-07-06 11:27:48 +00:00
|
|
|
style #{facss}
|
2017-12-17 05:35:30 +00:00
|
|
|
|
2017-12-14 15:23:45 +00:00
|
|
|
body
|
2017-12-14 21:41:57 +00:00
|
|
|
nav
|
|
|
|
ul
|
2018-07-06 11:27:48 +00:00
|
|
|
each doc in docs
|
2018-04-10 09:45:44 +00:00
|
|
|
li: a(href=`/docs/${lang}/${doc.name}`)= doc.title[lang] || doc.title['ja']
|
2017-12-14 21:41:57 +00:00
|
|
|
section
|
|
|
|
h2 API
|
|
|
|
ul
|
|
|
|
li Entities
|
|
|
|
ul
|
2018-07-06 11:27:48 +00:00
|
|
|
each entity in entities
|
|
|
|
li: a(href=`/docs/${lang}/api/entities/${kebab(entity)}`)= entity
|
2017-12-14 21:41:57 +00:00
|
|
|
li Endpoints
|
|
|
|
ul
|
2018-07-06 11:27:48 +00:00
|
|
|
each endpoint in endpoints
|
|
|
|
li: a(href=`/docs/${lang}/api/endpoints/${kebab(endpoint)}`)= endpoint
|
2017-12-14 15:23:45 +00:00
|
|
|
main
|
2017-12-16 19:02:30 +00:00
|
|
|
article
|
|
|
|
block main
|
|
|
|
if content
|
|
|
|
| !{content}
|
|
|
|
|
|
|
|
footer
|
|
|
|
p
|
2017-12-17 05:35:30 +00:00
|
|
|
| %i18n:docs.edit-this-page-on-github%
|
|
|
|
a(href=src target="_blank") %i18n:docs.edit-this-page-on-github-link%
|
2018-07-06 11:27:48 +00:00
|
|
|
small= copyright
|