Skip to content

Commit 86a7839

Browse files
authored
Merge pull request #16636 from github/fix-works-with-github-link
Fix Works with GitHub link in REST docs
2 parents 98aef9e + 0d808d0 commit 86a7839

8 files changed

Lines changed: 2812 additions & 8440 deletions

File tree

lib/rest/static/decorated/api.github.com.json

Lines changed: 516 additions & 1548 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.18.json

Lines changed: 349 additions & 1047 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.19.json

Lines changed: 356 additions & 1068 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.20.json

Lines changed: 357 additions & 1071 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.21.json

Lines changed: 392 additions & 1176 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.22.json

Lines changed: 454 additions & 1362 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/github.ae.json

Lines changed: 388 additions & 1164 deletions
Large diffs are not rendered by default.

script/rest/utils/operation.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,6 @@ module.exports = class Operation {
177177
async renderNotes () {
178178
this.notes = []
179179

180-
if (this['x-github'].enabledForGitHubApps) {
181-
this.notes.push('<a href="{{ restGitHubAppsLink }}">Works with GitHub Apps</a>')
182-
}
183-
184180
return Promise.all(this.notes.map(async (note) => renderContent(note)))
185181
}
186182
}

0 commit comments

Comments
 (0)