diff --git a/src/webhint-theme/helper/utils.js b/src/webhint-theme/helper/utils.js index da671ad8e..f27889d9f 100644 --- a/src/webhint-theme/helper/utils.js +++ b/src/webhint-theme/helper/utils.js @@ -1,7 +1,5 @@ const pagination = require('./pagination'); -const url = require('url'); - const isIndexPage = (page) => { return page.source.endsWith('index.md'); }; @@ -77,12 +75,6 @@ module.exports = { return page.section === section; }); }, - getSignalIssueQuery: (root, title, directory) => { - const issueTitle = `[docs] Issue with '${title}'`; - const issueContent = url.resolve(root, directory); - - return `title=${encodeURIComponent(issueTitle)}&body=${encodeURIComponent(issueContent)}`; - }, /** * Return the `href` value to link to the target page from the current one. * for example when the current page is `hint-amp-validator`: diff --git a/src/webhint-theme/layout/partials/doc.ejs b/src/webhint-theme/layout/partials/doc.ejs index 5735e48c8..3379df057 100644 --- a/src/webhint-theme/layout/partials/doc.ejs +++ b/src/webhint-theme/layout/partials/doc.ejs @@ -36,13 +36,6 @@ toCItems = utils.getToCItems(pages); %> >Edit -