Skip to content

Commit

Permalink
Merge pull request github#16636 from github/fix-works-with-github-link
Browse files Browse the repository at this point in the history
Fix Works with GitHub link in REST docs
  • Loading branch information
sarahs authored Nov 30, 2020
2 parents 98aef9e + 0d808d0 commit 86a7839
Show file tree
Hide file tree
Showing 8 changed files with 2,812 additions and 8,440 deletions.
2,064 changes: 516 additions & 1,548 deletions lib/rest/static/decorated/api.github.com.json

Large diffs are not rendered by default.

1,396 changes: 349 additions & 1,047 deletions lib/rest/static/decorated/ghes-2.18.json

Large diffs are not rendered by default.

1,424 changes: 356 additions & 1,068 deletions lib/rest/static/decorated/ghes-2.19.json

Large diffs are not rendered by default.

1,428 changes: 357 additions & 1,071 deletions lib/rest/static/decorated/ghes-2.20.json

Large diffs are not rendered by default.

1,568 changes: 392 additions & 1,176 deletions lib/rest/static/decorated/ghes-2.21.json

Large diffs are not rendered by default.

1,816 changes: 454 additions & 1,362 deletions lib/rest/static/decorated/ghes-2.22.json

Large diffs are not rendered by default.

1,552 changes: 388 additions & 1,164 deletions lib/rest/static/decorated/github.ae.json

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions script/rest/utils/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,6 @@ module.exports = class Operation {
async renderNotes () {
this.notes = []

if (this['x-github'].enabledForGitHubApps) {
this.notes.push('<a href="{{ restGitHubAppsLink }}">Works with GitHub Apps</a>')
}

return Promise.all(this.notes.map(async (note) => renderContent(note)))
}
}
Expand Down

0 comments on commit 86a7839

Please sign in to comment.