From ea93e8c89551343004b406ffb0f5838928811d65 Mon Sep 17 00:00:00 2001 From: Rachel Simone Weil Date: Fri, 7 May 2021 08:16:35 -0500 Subject: [PATCH 1/3] Update doc.ejs Removes "Signal Issue" link --- src/webhint-theme/layout/partials/doc.ejs | 7 ------- 1 file changed, 7 deletions(-) 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 -
  • - Signal Issue -
  • From 9b9b8f102fa8c8648f7447acba6b716ece9b1bd4 Mon Sep 17 00:00:00 2001 From: Rachel Simone Weil Date: Fri, 7 May 2021 08:20:37 -0500 Subject: [PATCH 2/3] Removes getSignalIssueQuery --- src/webhint-theme/helper/utils.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/webhint-theme/helper/utils.js b/src/webhint-theme/helper/utils.js index da671ad8e..b7121a9f3 100644 --- a/src/webhint-theme/helper/utils.js +++ b/src/webhint-theme/helper/utils.js @@ -77,12 +77,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`: From 96e54e4129b73b465311e7c1a97aba66c9766934 Mon Sep 17 00:00:00 2001 From: Rachel Simone Weil Date: Mon, 10 May 2021 13:00:15 -0500 Subject: [PATCH 3/3] Update utils.js Removes reference to `url`. --- src/webhint-theme/helper/utils.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/webhint-theme/helper/utils.js b/src/webhint-theme/helper/utils.js index b7121a9f3..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'); };