File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change 11const pagination = require ( './pagination' ) ;
22
3- const url = require ( 'url' ) ;
4-
53const isIndexPage = ( page ) => {
64 return page . source . endsWith ( 'index.md' ) ;
75} ;
@@ -77,12 +75,6 @@ module.exports = {
7775 return page . section === section ;
7876 } ) ;
7977 } ,
80- getSignalIssueQuery : ( root , title , directory ) => {
81- const issueTitle = `[docs] Issue with '${ title } '` ;
82- const issueContent = url . resolve ( root , directory ) ;
83-
84- return `title=${ encodeURIComponent ( issueTitle ) } &body=${ encodeURIComponent ( issueContent ) } ` ;
85- } ,
8678 /**
8779 * Return the `href` value to link to the target page from the current one.
8880 * for example when the current page is `hint-amp-validator`:
Original file line number Diff line number Diff line change @@ -36,13 +36,6 @@ toCItems = utils.getToCItems(pages); %>
3636 >Edit</a
3737 >
3838 </li >
39- <li >
40- <a
41- target =" _blank"
42- href =" <%= `${theme.webhintRepoRoot}/issues/new?${utils.getSignalIssueQuery(theme.webhintRoot, page.title, page.permalink)}` %>"
43- >Signal Issue</a
44- >
45- </li >
4639 </ul >
4740 </div >
4841 </header >
You can’t perform that action at this time.
0 commit comments