diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index 15dbc862c486f7185a46e7e9d9f60e9447f597e5..893bc26bc327562ffc96161db92d0b09e022d6a2 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -146,9 +146,9 @@ module Homebrew description: "Use this personal access token for the GitHub API, for features such as " \ "`brew search`. You can create one at <https://github.com/settings/tokens>. If set, " \ "GitHub will allow you a greater number of API requests. For more information, see: " \ - "<https://developer.github.com/v3/#rate-limiting>\n\n *Note:* Homebrew doesn't " \ - "require permissions for any of the scopes, but some developer commands may require " \ - "additional permissions.", + "<https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting>.\n\n" \ + " *Note:* Homebrew doesn't require permissions for any of the scopes, but some developer " \ + "commands may require additional permissions.", }, HOMEBREW_GITHUB_API_USERNAME: { description: "Use this username for authentication with the GitHub API, for features " \ diff --git a/docs/Manpage.md b/docs/Manpage.md index d61329d575ad0395da2681f564a6e6362eadff34..feae36f19ddf179b117d3212ec201c5cf43649ff 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1478,7 +1478,7 @@ Note that environment variables must have a value set to be detected. For exampl Use this password for authentication with the GitHub API, for features such as `brew search`. We strongly recommend using `HOMEBREW_GITHUB_API_TOKEN` instead. * `HOMEBREW_GITHUB_API_TOKEN`: - Use this personal access token for the GitHub API, for features such as `brew search`. You can create one at <https://github.com/settings/tokens>. If set, GitHub will allow you a greater number of API requests. For more information, see: <https://developer.github.com/v3/#rate-limiting> + Use this personal access token for the GitHub API, for features such as `brew search`. You can create one at <https://github.com/settings/tokens>. If set, GitHub will allow you a greater number of API requests. For more information, see: <https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting>. *Note:* Homebrew doesn't require permissions for any of the scopes, but some developer commands may require additional permissions. diff --git a/manpages/brew.1 b/manpages/brew.1 index cd639fd4c2f33bfc7c6832ef4653d780d16e8fbf..70cbb6894cea830a04d63d518224a4cf58a75a2a 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1932,7 +1932,7 @@ Use this password for authentication with the GitHub API, for features such as \ . .TP \fBHOMEBREW_GITHUB_API_TOKEN\fR -Use this personal access token for the GitHub API, for features such as \fBbrew search\fR\. You can create one at \fIhttps://github\.com/settings/tokens\fR\. If set, GitHub will allow you a greater number of API requests\. For more information, see: \fIhttps://developer\.github\.com/v3/#rate\-limiting\fR +Use this personal access token for the GitHub API, for features such as \fBbrew search\fR\. You can create one at \fIhttps://github\.com/settings/tokens\fR\. If set, GitHub will allow you a greater number of API requests\. For more information, see: \fIhttps://docs\.github\.com/en/rest/overview/resources\-in\-the\-rest\-api#rate\-limiting\fR\. . .IP \fINote:\fR Homebrew doesn\'t require permissions for any of the scopes, but some developer commands may require additional permissions\.