Sharkey/src/client/docs/layout.pug

42 lines
1,023 B
Text
Raw Normal View History

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