From 6b567fdc0585cf77c8104df9b0a75c9fa7d41ec7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 30 Jul 2018 16:24:46 +0900 Subject: ドキュメントにDisqus設置 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/docs/api/endpoints/view.pug | 4 ++-- src/docs/base.pug | 22 ++++++++++++++++++++++ src/docs/style.styl | 7 ++++++- 3 files changed, 30 insertions(+), 3 deletions(-) (limited to 'src/docs') diff --git a/src/docs/api/endpoints/view.pug b/src/docs/api/endpoints/view.pug index 1d7801ab4b..76e1183302 100644 --- a/src/docs/api/endpoints/view.pug +++ b/src/docs/api/endpoints/view.pug @@ -10,9 +10,9 @@ block main p#url span.method POST span.host - = url.host + = endpointUrl.host | / - span.path= url.path + span.path= endpointUrl.path if endpoint.desc p#desc= endpoint.desc[lang] || endpoint.desc['ja'] diff --git a/src/docs/base.pug b/src/docs/base.pug index b67fd630c4..aeafaeffff 100644 --- a/src/docs/base.pug +++ b/src/docs/base.pug @@ -34,6 +34,28 @@ html(lang= lang) if content | !{content} + aside. +
+ + + footer block footer small= copyright diff --git a/src/docs/style.styl b/src/docs/style.styl index 5caa65cedd..b01fe493ac 100644 --- a/src/docs/style.styl +++ b/src/docs/style.styl @@ -40,7 +40,12 @@ main border none border-bottom solid 2px #eee - footer + > aside + margin-top 32px + padding-top 32px + border-top solid 2px #eee + + > footer margin 32px 0 0 0 border-top solid 2px #eee -- cgit v1.2.3-freya