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