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
|
2018-04-12 20:05:24 -07:00
|
|
|
link(rel="stylesheet" href="/docs/assets/style.css")
|
2018-07-16 09:11:36 -07:00
|
|
|
link(rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css")
|
|
|
|
script(src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js")
|
2018-07-15 03:05:19 -07:00
|
|
|
link(rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous")
|
2017-12-14 07:23:45 -08:00
|
|
|
block meta
|
|
|
|
|
|
|
|
body
|
2017-12-14 13:41:57 -08:00
|
|
|
nav
|
|
|
|
ul
|
2018-07-06 04:27:48 -07:00
|
|
|
each doc in docs
|
2018-04-10 02:45:44 -07:00
|
|
|
li: a(href=`/docs/${lang}/${doc.name}`)= doc.title[lang] || doc.title['ja']
|
2017-12-14 13:41:57 -08:00
|
|
|
section
|
|
|
|
h2 API
|
|
|
|
ul
|
|
|
|
li Entities
|
|
|
|
ul
|
2018-07-06 04:27:48 -07:00
|
|
|
each entity in entities
|
|
|
|
li: a(href=`/docs/${lang}/api/entities/${kebab(entity)}`)= entity
|
2017-12-14 13:41:57 -08:00
|
|
|
li Endpoints
|
|
|
|
ul
|
2018-07-06 04:27:48 -07:00
|
|
|
each endpoint in endpoints
|
2018-07-15 11:53:03 -07:00
|
|
|
li: a(href=`/docs/${lang}/api/endpoints/${kebab(endpoint.name)}`)= endpoint.name
|
2017-12-14 07:23:45 -08:00
|
|
|
main
|
2017-12-16 11:02:30 -08:00
|
|
|
article
|
|
|
|
block main
|
|
|
|
if content
|
|
|
|
| !{content}
|
|
|
|
|
|
|
|
footer
|
2018-07-16 11:57:34 -07:00
|
|
|
block footer
|
2018-07-06 04:27:48 -07:00
|
|
|
small= copyright
|