1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-17 16:18:33 +09:00
misskey/src/web/docs/layout.pug

32 lines
792 B
Plaintext
Raw Normal View History

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