diff --git a/Tools/build-website.js b/Tools/build-website.js index 12243abe5..7f299d87c 100644 --- a/Tools/build-website.js +++ b/Tools/build-website.js @@ -239,6 +239,15 @@ https://github.com/laurent22/joplin/blob/master/{{{sourceMarkdownFile}}} h6:hover a.heading-anchor { opacity: 1; } + + .bottom-links { + display: flex; + justify-content: center; + border-top: 1px solid #d4d4d4; + margin-top: 30px; + padding-top: 25px; + } + @media all and (min-width: 400px) { .nav-right .share-btn { display: inline-block; @@ -456,9 +465,14 @@ function markdownToHtml(md, templateParams) { } }); - const improveDocHtml = ' Improve this doc'; + const improveDocHtml = ` +
`; - return Mustache.render(headerHtml, templateParams) + markdownIt.render(md) + improveDocHtml + scriptHtml + footerHtml; + return Mustache.render(headerHtml, templateParams) + markdownIt.render(md) + Mustache.render(improveDocHtml, templateParams) + scriptHtml + footerHtml; } let tocMd_ = null; diff --git a/docs/api/index.html b/docs/api/index.html index 1f01eb233..0cefe428f 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -22,7 +22,6 @@ https://github.com/laurent22/joplin/blob/master/readme/api.md -