File tree 2 files changed +0
-15
lines changed
2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change 1
1
const pagination = require ( './pagination' ) ;
2
2
3
- const url = require ( 'url' ) ;
4
-
5
3
const isIndexPage = ( page ) => {
6
4
return page . source . endsWith ( 'index.md' ) ;
7
5
} ;
@@ -77,12 +75,6 @@ module.exports = {
77
75
return page . section === section ;
78
76
} ) ;
79
77
} ,
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
- } ,
86
78
/**
87
79
* Return the `href` value to link to the target page from the current one.
88
80
* 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); %>
36
36
>Edit</a
37
37
>
38
38
</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 >
46
39
</ul >
47
40
</div >
48
41
</header >
You can’t perform that action at this time.
0 commit comments