diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Contributions/example-formula.rb | 9 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/create.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/help.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/tap-readme.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/manpages/brew.1.md | 10 | ||||
| -rw-r--r-- | Library/Homebrew/os.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 2 |
7 files changed, 15 insertions, 16 deletions
diff --git a/Library/Contributions/example-formula.rb b/Library/Contributions/example-formula.rb index cb47261dc..b79f01777 100644 --- a/Library/Contributions/example-formula.rb +++ b/Library/Contributions/example-formula.rb @@ -3,7 +3,7 @@ require "formula" # This is a non-functional example formula to showcase all features and # therefore, it's overly complex and dupes stuff just to comment on it. # You may want to use `brew create` to start your own new formula! -# Documentation: https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook +# Documentation: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md ## Naming -- Every Homebrew formula is a class of the type `Formula`. # Ruby classes have to start Upper case and dashes are not allowed. @@ -87,8 +87,7 @@ class ExampleFormula < Formula # Bottles are pre-built and added by the Homebrew maintainers for you. # If you maintain your own repository, you can add your own bottle links. - # Read in the wiki about how to provide bottles: - # <https://github.com/Homebrew/homebrew/wiki/Bottles> + # https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Bottles.md bottle do root_url "http://mikemcquaid.com" # Optional root to calculate bottle URLs prefix "/opt/homebrew" # Optional HOMEBREW_PREFIX in which the bottles were built. @@ -413,8 +412,8 @@ end __END__ # Room for a patch after the `__END__` -# Read in the wiki about how to get a patch in here: -# https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook +# Read about how to get a patch in here: +# https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md # In short, `brew install --interactive --git <formula>` and make your edits. # Then `git diff >> path/to/your/formula.rb` # Note, that HOMEBREW_PREFIX will be replaced in the path before it is diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb index dcef372d8..9ba3e7204 100644 --- a/Library/Homebrew/cmd/create.rb +++ b/Library/Homebrew/cmd/create.rb @@ -119,7 +119,7 @@ class FormulaCreator def template; <<-EOS.undent require "formula" - # Documentation: https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook + # Documentation: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md # #{HOMEBREW_CONTRIB}/example-formula.rb # PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! diff --git a/Library/Homebrew/cmd/help.rb b/Library/Homebrew/cmd/help.rb index cc1afd061..f4fedc529 100644 --- a/Library/Homebrew/cmd/help.rb +++ b/Library/Homebrew/cmd/help.rb @@ -17,7 +17,7 @@ Troubleshooting: Brewing: brew create [URL [--no-fetch]] brew edit [FORMULA...] - open https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook + open https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md Further help: man brew diff --git a/Library/Homebrew/cmd/tap-readme.rb b/Library/Homebrew/cmd/tap-readme.rb index 6356fe308..a62ec3cc7 100644 --- a/Library/Homebrew/cmd/tap-readme.rb +++ b/Library/Homebrew/cmd/tap-readme.rb @@ -22,9 +22,9 @@ module Homebrew Docs ---- - `brew help`, `man brew`, or the Homebrew [wiki][]. + `brew help`, `man brew`, or the Homebrew [docs][]. - [wiki]:http://wiki.github.com/Homebrew/homebrew + [docs]:https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/README.md#readme EOS puts template if ARGV.verbose? diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index 0699a9f9a..e58fb4693 100644 --- a/Library/Homebrew/manpages/brew.1.md +++ b/Library/Homebrew/manpages/brew.1.md @@ -169,8 +169,8 @@ Note that these flags should only appear after a command. Pass `--all` to get information on all formulae, or `--installed` to get information on all installed formulae. - See the wiki for examples of using the JSON: - <https://github.com/Homebrew/homebrew/wiki/Querying-Brew> + See the docs for examples of using the JSON: + <https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md> * `install [--debug] [--env=<std|super>] [--ignore-dependencies] [--only-dependencies] [--cc=<compiler>] [--build-from-source] [--devel|--HEAD]` <formula>: Install <formula>. @@ -441,8 +441,8 @@ by default: $ ls $(brew --repository)/Library/Contributions/cmd Documentation for the included external commands as well as instructions for -creating your own can be found on the wiki: -<http://wiki.github.com/Homebrew/homebrew/External-Commands> +creating your own can be found in the docs: +<https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/External-Commands.md> ## SPECIFYING FORMULAE @@ -598,7 +598,7 @@ If your proxy requires authentication: ## SEE ALSO -Homebrew Wiki: <http://wiki.github.com/Homebrew/homebrew/> +Homebrew Documentation: <https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/> `git`(1), `git-log`(1) diff --git a/Library/Homebrew/os.rb b/Library/Homebrew/os.rb index 9d9886050..4c4f9ae05 100644 --- a/Library/Homebrew/os.rb +++ b/Library/Homebrew/os.rb @@ -8,7 +8,7 @@ module OS end if OS.mac? - ISSUES_URL = "https://github.com/Homebrew/homebrew/wiki/troubleshooting" + ISSUES_URL = "https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting" PATH_OPEN = "/usr/bin/open" elsif OS.linux? ISSUES_URL = "https://github.com/Homebrew/linuxbrew/wiki/troubleshooting" diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 30c141cd6..d5c636942 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -99,7 +99,7 @@ module OS when 2327..2333 then "3.2.5" when 2335 # this build number applies to 3.2.6, 4.0 and 4.1 - # https://github.com/Homebrew/homebrew/wiki/Xcode + # https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Xcode.md "4.0" else case (MacOS.clang_version.to_f * 10).to_i |
