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")
|
2018-07-16 16:11:36 +00: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-09-16 18:02:58 +00:00
|
|
|
link(rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous")
|
2017-12-14 15:23:45 +00:00
|
|
|
block meta
|
|
|
|
|
|
|
|
body
|
2017-12-14 21:41:57 +00:00
|
|
|
nav
|
|
|
|
ul
|
2018-07-06 11:27:48 +00:00
|
|
|
each doc in docs
|
2018-08-28 21:59:43 +00:00
|
|
|
li: a(href=`/docs/${lang}/${doc.name}`)= doc.title[lang] || doc.title['ja-JP']
|
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
|
2018-07-15 18:53:03 +00:00
|
|
|
li: a(href=`/docs/${lang}/api/endpoints/${kebab(endpoint.name)}`)= endpoint.name
|
2017-12-14 15:23:45 +00:00
|
|
|
main
|
2017-12-16 19:02:30 +00:00
|
|
|
article
|
|
|
|
block main
|
|
|
|
if content
|
|
|
|
| !{content}
|
|
|
|
|
2018-07-30 07:24:46 +00:00
|
|
|
aside.
|
|
|
|
<div id="disqus_thread"></div>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
|
|
|
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
|
|
|
|
/*
|
|
|
|
var disqus_config = function () {
|
|
|
|
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
|
|
|
this.page.identifier = "#{ id }"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
(function() { // DON'T EDIT BELOW THIS LINE
|
|
|
|
var d = document, s = d.createElement('script');
|
|
|
|
s.src = 'https://misskey.disqus.com/embed.js';
|
|
|
|
s.setAttribute('data-timestamp', +new Date());
|
|
|
|
(d.head || d.body).appendChild(s);
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
|
|
|
|
2017-12-16 19:02:30 +00:00
|
|
|
footer
|
2018-07-16 18:57:34 +00:00
|
|
|
block footer
|
2018-07-06 11:27:48 +00:00
|
|
|
small= copyright
|