aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2017-07-27 15:59:37 +0100
committerMike McQuaid2017-07-27 15:59:37 +0100
commitbaa61f5a6e105b9b89f5bef465848c72499cb960 (patch)
tree5dd8c7d1be1946eee04a81859cf0c2cef1f5335d /Library/Homebrew
parent97b757bc9638c837f565958730a23211552e5540 (diff)
downloadbrew-baa61f5a6e105b9b89f5bef465848c72499cb960.tar.bz2
Use https for all docs.brew.sh links.
May as well use the more secure link when possible.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/README.md2
-rw-r--r--Library/Homebrew/cmd/analytics.rb2
-rw-r--r--Library/Homebrew/cmd/help.rb2
-rw-r--r--Library/Homebrew/cmd/info.rb2
-rw-r--r--Library/Homebrew/cmd/tap-info.rb2
-rw-r--r--Library/Homebrew/cmd/update-report.rb2
-rw-r--r--Library/Homebrew/dev-cmd/create.rb2
-rw-r--r--Library/Homebrew/dev-cmd/tap-new.rb2
-rw-r--r--Library/Homebrew/formula.rb4
-rw-r--r--Library/Homebrew/manpages/brew.1.md.erb6
-rw-r--r--Library/Homebrew/missing_formula.rb2
-rw-r--r--Library/Homebrew/os.rb2
-rw-r--r--Library/Homebrew/utils/analytics.rb2
13 files changed, 16 insertions, 16 deletions
diff --git a/Library/Homebrew/README.md b/Library/Homebrew/README.md
index 18a41e363..681bb9288 100644
--- a/Library/Homebrew/README.md
+++ b/Library/Homebrew/README.md
@@ -3,6 +3,6 @@ This is the (partially) documented public API for Homebrew.
The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.
-You may also find the [Formula Cookbook](http://docs.brew.sh/Formula-Cookbook.html) and [Ruby Style Guide](https://github.com/styleguide/ruby) helpful in creating formulae.
+You may also find the [Formula Cookbook](https://docs.brew.sh/Formula-Cookbook.html) and [Ruby Style Guide](https://github.com/styleguide/ruby) helpful in creating formulae.
Good luck!
diff --git a/Library/Homebrew/cmd/analytics.rb b/Library/Homebrew/cmd/analytics.rb
index 8a67a54a4..0985f00b8 100644
--- a/Library/Homebrew/cmd/analytics.rb
+++ b/Library/Homebrew/cmd/analytics.rb
@@ -1,6 +1,6 @@
#: * `analytics` [`state`]:
#: Display anonymous user behaviour analytics state.
-#: Read more at <http://docs.brew.sh/Analytics.html>.
+#: Read more at <https://docs.brew.sh/Analytics.html>.
#:
#: * `analytics` (`on`|`off`):
#: Turn on/off Homebrew's analytics.
diff --git a/Library/Homebrew/cmd/help.rb b/Library/Homebrew/cmd/help.rb
index fc3878f16..a0c44854b 100644
--- a/Library/Homebrew/cmd/help.rb
+++ b/Library/Homebrew/cmd/help.rb
@@ -16,7 +16,7 @@ HOMEBREW_HELP = <<-EOS.unindent.freeze
Developers:
brew create [URL [--no-fetch]]
brew edit [FORMULA...]
- http://docs.brew.sh/Formula-Cookbook.html
+ https://docs.brew.sh/Formula-Cookbook.html
Further help:
man brew
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index 731156f95..5eb033706 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -14,7 +14,7 @@
#: information on all installed formulae.
#:
#: See the docs for examples of using the JSON output:
-#: <http://docs.brew.sh/Querying-Brew.html>
+#: <https://docs.brew.sh/Querying-Brew.html>
require "missing_formula"
require "caveats"
diff --git a/Library/Homebrew/cmd/tap-info.rb b/Library/Homebrew/cmd/tap-info.rb
index b710fcf55..af087645d 100644
--- a/Library/Homebrew/cmd/tap-info.rb
+++ b/Library/Homebrew/cmd/tap-info.rb
@@ -13,7 +13,7 @@
#: Pass `--installed` to get information on installed taps.
#:
#: See the docs for examples of using the JSON output:
-#: <http://docs.brew.sh/Querying-Brew.html>
+#: <https://docs.brew.sh/Querying-Brew.html>
require "tap"
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index 374bbbd73..ea915f99c 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -35,7 +35,7 @@ module Homebrew
ohai "Homebrew has enabled anonymous aggregate user behaviour analytics."
puts <<-EOS.undent
#{Tty.bold}Read the analytics documentation (and how to opt-out) here:
- #{Formatter.url("http://docs.brew.sh/Analytics.html")}#{Tty.reset}
+ #{Formatter.url("https://docs.brew.sh/Analytics.html")}#{Tty.reset}
EOS
diff --git a/Library/Homebrew/dev-cmd/create.rb b/Library/Homebrew/dev-cmd/create.rb
index 802e7b900..e423842ba 100644
--- a/Library/Homebrew/dev-cmd/create.rb
+++ b/Library/Homebrew/dev-cmd/create.rb
@@ -166,7 +166,7 @@ class FormulaCreator
end
def template; <<-EOS.undent
- # Documentation: http://docs.brew.sh/Formula-Cookbook.html
+ # Documentation: https://docs.brew.sh/Formula-Cookbook.html
# http://www.rubydoc.info/github/Homebrew/brew/master/Formula
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
diff --git a/Library/Homebrew/dev-cmd/tap-new.rb b/Library/Homebrew/dev-cmd/tap-new.rb
index dcb41265c..964ba2f5d 100644
--- a/Library/Homebrew/dev-cmd/tap-new.rb
+++ b/Library/Homebrew/dev-cmd/tap-new.rb
@@ -39,7 +39,7 @@ module Homebrew
```
## Documentation
- `brew help`, `man brew` or check [Homebrew's documentation](https://github.com/Homebrew/brew/tree/master/docs#readme).
+ `brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).
EOS
write_path(tap, "README.md", readme)
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index b2e4ff988..9a31c9e5e 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -27,7 +27,7 @@ require "extend/ENV"
# @see SharedEnvExtension
# @see FileUtils
# @see Pathname
-# @see http://docs.brew.sh/Formula-Cookbook.html Formula Cookbook
+# @see https://docs.brew.sh/Formula-Cookbook.html Formula Cookbook
# @see https://github.com/styleguide/ruby Ruby Style Guide
#
# <pre>class Wget < Formula
@@ -2069,7 +2069,7 @@ class Formula
# and you haven't passed or previously used any options on this formula.
#
# If you maintain your own repository, you can add your own bottle links.
- # http://docs.brew.sh/Bottles.html
+ # https://docs.brew.sh/Bottles.html
# You can ignore this block entirely if submitting to Homebrew/Homebrew, It'll be
# handled for you by the Brew Test Bot.
#
diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb
index 589527d20..71d93f120 100644
--- a/Library/Homebrew/manpages/brew.1.md.erb
+++ b/Library/Homebrew/manpages/brew.1.md.erb
@@ -76,7 +76,7 @@ scripts that reside somewhere in the `PATH`, named `brew-`<cmdname> or
to create your own commands without modifying Homebrew's internals.
Instructions for creating your own commands can be found in the docs:
-<http://docs.brew.sh/External-Commands.html>
+<https://docs.brew.sh/External-Commands.html>
## SPECIFYING FORMULAE
@@ -189,7 +189,7 @@ can take several different forms:
*Default:* the number of available CPU cores.
* `HOMEBREW_NO_ANALYTICS`:
- If set, Homebrew will not send analytics. See: <http://docs.brew.sh/Analytics.html>
+ If set, Homebrew will not send analytics. See: <https://docs.brew.sh/Analytics.html>
* `HOMEBREW_NO_AUTO_UPDATE`:
If set, Homebrew will not auto-update before running `brew install`,
@@ -252,7 +252,7 @@ If your proxy requires authentication:
## SEE ALSO
-Homebrew Documentation: <https://github.com/Homebrew/brew/blob/master/docs/>
+Homebrew Documentation: <https://docs.brew.sh>
`brew-cask`(1), `git`(1), `git-log`(1)
diff --git a/Library/Homebrew/missing_formula.rb b/Library/Homebrew/missing_formula.rb
index 57450ea84..4d90ddb61 100644
--- a/Library/Homebrew/missing_formula.rb
+++ b/Library/Homebrew/missing_formula.rb
@@ -164,7 +164,7 @@ module Homebrew
git -C "$(brew --repo #{tap})" show #{short_hash}^:#{relative_path}
If you still use this formula consider creating your own tap:
- http://docs.brew.sh/How-to-Create-and-Maintain-a-Tap.html
+ https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap.html
EOS
end
end
diff --git a/Library/Homebrew/os.rb b/Library/Homebrew/os.rb
index 1209028a7..2867d8864 100644
--- a/Library/Homebrew/os.rb
+++ b/Library/Homebrew/os.rb
@@ -17,7 +17,7 @@ module OS
require "os/mac"
# Don't tell people to report issues on unsupported versions of macOS.
if !OS::Mac.prerelease? && !OS::Mac.outdated_release?
- ISSUES_URL = "http://docs.brew.sh/Troubleshooting.html".freeze
+ ISSUES_URL = "https://docs.brew.sh/Troubleshooting.html".freeze
end
PATH_OPEN = "/usr/bin/open".freeze
# compatibility
diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb
index 23000f8dd..a89995ba9 100644
--- a/Library/Homebrew/utils/analytics.rb
+++ b/Library/Homebrew/utils/analytics.rb
@@ -35,7 +35,7 @@ module Utils
end
# Send analytics. Don't send or store any personally identifiable information.
- # http://docs.brew.sh/Analytics.html
+ # https://docs.brew.sh/Analytics.html
# https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide
# https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters
if ENV["HOMEBREW_ANALYTICS_DEBUG"]