summaryrefslogtreecommitdiff
path: root/src/web/docs
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-12-17 04:05:33 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-12-17 04:05:33 +0900
commit11842366bcfdaaf0de4dbdfc3b31874c4223c9e3 (patch)
treed5a20cad5efd087406985b4505f81531fc08ca40 /src/web/docs
parent:v: (diff)
downloadsharkey-11842366bcfdaaf0de4dbdfc3b31874c4223c9e3.tar.gz
sharkey-11842366bcfdaaf0de4dbdfc3b31874c4223c9e3.tar.bz2
sharkey-11842366bcfdaaf0de4dbdfc3b31874c4223c9e3.zip
:v:
Diffstat (limited to 'src/web/docs')
-rw-r--r--src/web/docs/layout.pug7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/web/docs/layout.pug b/src/web/docs/layout.pug
index c37967ab82..22d89375af 100644
--- a/src/web/docs/layout.pug
+++ b/src/web/docs/layout.pug
@@ -8,24 +8,23 @@ html(lang= lang)
| #{title} | Misskey Docs
link(rel="stylesheet" href="/assets/style.css")
block meta
- base(href=`/${lang}/`)
body
nav
ul
each doc in common.docs
- li: a(href=`./${doc.name}`)= doc.title[lang] || doc.title['ja']
+ li: a(href=`/${lang}/${doc.name}`)= doc.title[lang] || doc.title['ja']
section
h2 API
ul
li Entities
ul
each entity in common.entities
- li: a(href=`./api/entities/${common.kebab(entity)}`)= entity
+ li: a(href=`/${lang}/api/entities/${common.kebab(entity)}`)= entity
li Endpoints
ul
each endpoint in common.endpoints
- li: a(href=`./api/endpoints/${common.kebab(endpoint)}`)= endpoint
+ li: a(href=`/${lang}/api/endpoints/${common.kebab(endpoint)}`)= endpoint
main
article
block main