Skip to content

Commit 5752ea9

Browse files
committed
update legacy alt-formatted links too
1 parent f402a34 commit 5752ea9

12 files changed

Lines changed: 43 additions & 43 deletions

content/admin/user-management/audited-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Name | Description
2727
[add key]: /articles/adding-a-new-ssh-key-to-your-github-account
2828
[deploy key]: /guides/managing-deploy-keys/#deploy-keys
2929
[generate token]: /articles/creating-an-access-token-for-command-line-use
30-
[OAuth access token]: /v3/oauth/
30+
[OAuth access token]: /developers/apps/authorizing-oauth-apps
3131
[OAuth application]: /guides/basics-of-authentication/#registering-your-app
3232
[2fa]: /articles/about-two-factor-authentication
3333

content/developers/webhooks-and-events/about-webhooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ See "[Webhook event payloads](/webhooks/event-payloads)" for the list of availab
3131
For more information about the `ping` event webhook payload, see the [`ping`](/webhooks/event-payloads/#ping) event.
3232

3333
[org-hooks]: /rest/reference/orgs#webhooks/
34-
[repo-hooks]: /v3/repos/hooks/
34+
[repo-hooks]: /rest/reference/repos#hooks

content/developers/webhooks-and-events/creating-webhooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ When you're finished, click **Add webhook**. Phew! Now that you created the webh
6565
To configure a webhook for all events, use the wildcard (`*`) character to specify the webhook events. When you add the wildcard event, we'll replace any existing events you have configured with the wildcard event and send you payloads for all supported events. You'll also automatically get any new events we might add in the future.
6666

6767
[webhooks-overview]: /webhooks/
68-
[webhook-api]: /v3/repos/hooks/
68+
[webhook-api]: /rest/reference/repos#hooks
6969
[hooks-api]: /webhooks/#events

content/rest/guides/building-a-ci-server.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ All of this communication is funneled back to our chat rooms. You don't need to
166166
build your own CI setup to use this example.
167167
You can always rely on [GitHub integrations][integrations].
168168

169-
[deploy API]: /v3/repos/deployments/
170-
[status API]: /v3/repos/statuses/
169+
[deploy API]: /rest/reference/repos#deployments
170+
[status API]: /rest/reference/repos#statuses
171171
[ngrok]: https://ngrok.com/
172172
[using ngrok]: /webhooks/configuring/#using-ngrok
173173
[platform samples]: https://github.com/github/platform-samples/tree/master/api/ruby/building-a-ci-server

content/rest/guides/delivering-deployments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ server we've built above. At GitHub, we:
184184
That's it! You don't need to build your own deployment setup to use this example.
185185
You can always rely on [GitHub integrations][integrations].
186186

187-
[deploy API]: /v3/repos/deployments/
187+
[deploy API]: /rest/reference/repos#deployments
188188
[status API]: /guides/building-a-ci-server
189189
[ngrok]: https://ngrok.com/
190190
[using ngrok]: /webhooks/configuring/#using-ngrok

content/rest/guides/discovering-resources-for-a-user.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,16 @@ If you've read the docs from cover to cover, you may have noticed an [API method
9393

9494
As an application, you typically want all of the user's organizations (public and private) that your app is authorized to access. The workflow above will give you exactly that.
9595

96-
[basics-of-authentication]: /v3/guides/basics-of-authentication/
97-
[list-public-orgs]: /v3/orgs/#list-organizations-for-a-user
98-
[list-repositories-for-current-user]: /v3/repos/#list-repositories-for-the-authenticated-user
99-
[list-orgs-for-current-user]: /v3/orgs/#list-organizations-for-the-authenticated-user
100-
[list-teams]: /v3/teams/#list-teams
101-
[make-authenticated-request-for-user]: /v3/guides/basics-of-authentication/#making-authenticated-requests
96+
[basics-of-authentication]: /rest/guides/basics-of-authentication
97+
[list-public-orgs]: /rest/reference/orgs#list-organizations-for-a-user
98+
[list-repositories-for-current-user]: /rest/reference/repos#list-repositories-for-the-authenticated-user
99+
[list-orgs-for-current-user]: /rest/reference/orgs#list-organizations-for-the-authenticated-user
100+
[list-teams]: /rest/reference/teams#list-teams
101+
[make-authenticated-request-for-user]: /rest/guides/basics-of-authentication#making-authenticated-requests
102102
[oap]: https://developer.github.com/changes/2015-01-19-an-integrators-guide-to-organization-application-policies/
103103
[octokit.rb]: https://github.com/octokit/octokit.rb
104-
[pagination]: /v3/#pagination
104+
[pagination]: /rest#pagination
105105
[platform samples]: https://github.com/github/platform-samples/tree/master/api/ruby/discovering-resources-for-a-user
106-
[publicize-membership]: /v3/orgs/members/#set-public-organization-membership-for-the-authenticated-user
107-
[register-oauth-app]: /v3/guides/basics-of-authentication/#registering-your-app
106+
[publicize-membership]: /rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user
107+
[register-oauth-app]: /rest/guides/basics-of-authentication#registering-your-app
108108
[scopes]: /apps/building-oauth-apps/understanding-scopes-for-oauth-apps/

content/rest/guides/getting-started-with-the-rest-api.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -432,33 +432,33 @@ Keep learning with the next API guide [Basics of Authentication][auth guide]!
432432
[webflow]: /apps/building-oauth-apps/authorizing-oauth-apps/
433433
[create a new authorization API]: /rest/reference/oauth-authorizations#create-a-new-authorization
434434
[scopes]: /apps/building-oauth-apps/understanding-scopes-for-oauth-apps/
435-
[repos-api]: /v3/repos/
435+
[repos-api]: /rest/reference/repos
436436
[pages]: http://pages.github.com
437437
[nanoc]: http://nanoc.ws/
438438
[gitignore templates]: https://github.com/github/gitignore
439-
[issues-api]: /v3/issues/
439+
[issues-api]: /rest/reference/issues
440440
[link-header]: http://www.w3.org/wiki/LinkHeader/
441-
[conditional-requests]: /v3/#conditional-requests
442-
[rate-limiting]: /v3/#rate-limiting
443-
[users api]: /v3/users/#get-a-user
444-
[auth user api]: /v3/users/#get-the-authenticated-user
441+
[conditional-requests]: /rest#conditional-requests
442+
[rate-limiting]: /rest#rate-limiting
443+
[users api]: /rest/reference/users#get-a-user
444+
[auth user api]: /rest/reference/users#get-the-authenticated-user
445445
[defunkt github]: https://github.com/defunkt
446446
[json]: http://en.wikipedia.org/wiki/JSON
447-
[authentication]: /v3/#authentication
447+
[authentication]: /rest#authentication
448448
[2fa]: /articles/about-two-factor-authentication
449449
[2fa header]: /rest/overview/other-authentication-methods#working-with-two-factor-authentication
450-
[oauth section]: /v3/guides/getting-started/#oauth
450+
[oauth section]: /rest/guides/getting-started-with-the-rest-api#oauth
451451
[personal token]: /articles/creating-an-access-token-for-command-line-use
452452
[tokens settings]: https://github.com/settings/tokens
453-
[pagination]: /v3/#pagination
454-
[get repo]: /v3/repos/#get-a-repository
455-
[create repo]: /v3/repos/#create-a-repository-for-the-authenticated-user
456-
[create issue]: /v3/issues/#create-an-issue
453+
[pagination]: /rest#pagination
454+
[get repo]: /rest/reference/repos#get-a-repository
455+
[create repo]: /rest/reference/repos#create-a-repository-for-the-authenticated-user
456+
[create issue]: /rest/reference/issues#create-an-issue
457457
[auth guide]: /guides/basics-of-authentication
458-
[user repos api]: /v3/repos/#list-repositories-for-the-authenticated-user
459-
[other user repos api]: /v3/repos/#list-repositories-for-a-user
460-
[org repos api]: /v3/repos/#list-organization-repositories
461-
[get issues api]: /v3/issues/#list-issues-assigned-to-the-authenticated-user
462-
[repo issues api]: /v3/issues/#list-repository-issues
458+
[user repos api]: /rest/reference/repos#list-repositories-for-the-authenticated-user
459+
[other user repos api]: /rest/reference/repos#list-repositories-for-a-user
460+
[org repos api]: /rest/reference/repos#list-organization-repositories
461+
[get issues api]: /rest/reference/issues#list-issues-assigned-to-the-authenticated-user
462+
[repo issues api]: /rest/reference/issues#list-repository-issues
463463
[etag]: http://en.wikipedia.org/wiki/HTTP_ETag
464-
[2fa section]: /v3/guides/getting-started/#two-factor-authentication
464+
[2fa section]: /rest/guides/getting-started-with-the-rest-api#two-factor-authentication

content/rest/guides/rendering-data-as-graphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ arguments to `drawTreemap` above, to get all the information to show up properly
371371
[Octokit]: https://github.com/octokit/octokit.rb
372372
[D3 mortals]: http://www.recursion.org/d3-for-mere-mortals/
373373
[D3 treemap]: http://bl.ocks.org/mbostock/4063582
374-
[language API]: /v3/repos/#list-repository-languages
374+
[language API]: /rest/reference/repos#list-repository-languages
375375
[simple tree map]: http://2kittymafiasoftware.blogspot.com/2011/09/simple-treemap-visualization-with-d3.html
376376
[platform samples]: https://github.com/github/platform-samples/tree/master/api/ruby/rendering-data-as-graphs
377377
[new oauth application]: https://github.com/settings/applications/new

content/rest/guides/traversing-with-pagination.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ puts "The prev page link is #{prev_page_href}"
254254
puts "The next page link is #{next_page_href}"
255255
```
256256

257-
[pagination]: /v3/#pagination
257+
[pagination]: /rest#pagination
258258
[platform samples]: https://github.com/github/platform-samples/tree/master/api/ruby/traversing-with-pagination
259259
[octokit.rb]: https://github.com/octokit/octokit.rb
260260
[personal token]: /articles/creating-an-access-token-for-command-line-use
261261
[hypermedia-relations]: https://github.com/octokit/octokit.rb#pagination
262-
[listing commits]: /v3/repos/commits/#list-commits
262+
[listing commits]: /rest/reference/repos#list-commits

content/rest/guides/working-with-comments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ on the entire commit.
119119
[commit comment]: https://github.com/octocat/Spoon-Knife/commit/cbc28e7c8caee26febc8c013b0adfb97a4edd96e#commitcomment-4049848
120120
[sample PR]: https://github.com/octocat/Spoon-Knife/pull/1176
121121
[platform-samples]: https://github.com/github/platform-samples/tree/master/api/ruby/working-with-comments
122-
[issues]: /v3/issues/comments/
122+
[issues]: /rest/reference/issues#comments
123123
[personal token]: /articles/creating-an-access-token-for-command-line-use
124124
[octokit.rb]: https://github.com/octokit/octokit.rb
125-
[PR Review API]: /v3/pulls/comments/
126-
[commit comment API]: /v3/repos/comments/#get-a-commit-comment
125+
[PR Review API]: /rest/reference/pulls#comments
126+
[commit comment API]: /rest/reference/repos#get-a-commit-comment

0 commit comments

Comments
 (0)