From d04e7ad28e6adab82bb0e27b63e47594d7b045a8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 20 Sep 2016 12:31:51 +0100 Subject: [PATCH] Use new Homebrew/brew docs paths. --- CONTRIBUTING.md | 10 +++++----- Formula/pypy.rb | 2 +- Formula/pypy3.rb | 2 +- Formula/python.rb | 4 ++-- Formula/python3.rb | 4 ++-- README.md | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1b9da1352a8..07decceed5c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ First time contributing to Homebrew? Read our [Code of Conduct](https://github.c * run `brew update` (twice) * run and read `brew doctor` -* read [the Troubleshooting Checklist](https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting) +* read [the Troubleshooting Checklist](https://github.com/Homebrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting) * open an issue on the formula's repository ### Submit a `1.2.3` version upgrade for the `foo` formula @@ -17,15 +17,15 @@ First time contributing to Homebrew? Read our [Code of Conduct](https://github.c * `brew install foo` * run `brew audit foo` and fix any issues * `git commit` with commit subject `foo 1.2.3` -* [open a pull request](https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged) and fix any failing tests +* [open a pull request](https://github.com/Homebrew/brew/blob/master/docs/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged) and fix any failing tests ### Add a new formula for `foo` version `2.3.4` from `$URL` -* read [the Formula Cookbook](https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Formula-Cookbook.md#formula-cookbook) or: `brew create $URL` and make edits +* read [the Formula Cookbook](https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md#formula-cookbook) or: `brew create $URL` and make edits * `brew install foo` * `brew audit --online --strict foo` * `git commit` with message formatted `foo 2.3.4 (new formula)` -* [open a pull request](https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged) and fix any failing tests +* [open a pull request](https://github.com/Homebrew/brew/blob/master/docs/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged) and fix any failing tests ### Contribute a fix to the `foo` formula @@ -33,6 +33,6 @@ First time contributing to Homebrew? Read our [Code of Conduct](https://github.c * leave the [`bottle`](http://www.rubydoc.info/github/Homebrew/brew/master/Formula#bottle-class_method) as-is * `brew install foo`, `brew test foo`, and `brew audit foo` * `git commit` with message formatted `foo: fix ` -* [open a pull request](https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged) and fix any failing tests +* [open a pull request](https://github.com/Homebrew/brew/blob/master/docs/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged) and fix any failing tests Thanks! diff --git a/Formula/pypy.rb b/Formula/pypy.rb index f62f89fa72c..2e0e85d30f4 100644 --- a/Formula/pypy.rb +++ b/Formula/pypy.rb @@ -133,7 +133,7 @@ class Pypy < Formula To update setuptools and pip between pypy releases, run: pip_pypy install --upgrade pip setuptools - See: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Homebrew-and-Python.md + See: https://github.com/Homebrew/brew/blob/master/docs/Homebrew-and-Python.md EOS end diff --git a/Formula/pypy3.rb b/Formula/pypy3.rb index 6d945a83855..bb93b6df8e2 100644 --- a/Formula/pypy3.rb +++ b/Formula/pypy3.rb @@ -112,7 +112,7 @@ class Pypy3 < Formula To update pip and setuptools between pypy3 releases, run: pip_pypy3 install --upgrade pip setuptools - See: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Homebrew-and-Python.md + See: https://github.com/Homebrew/brew/blob/master/docs/Homebrew-and-Python.md EOS end diff --git a/Formula/python.rb b/Formula/python.rb index e1c0f363174..b02aef9256a 100644 --- a/Formula/python.rb +++ b/Formula/python.rb @@ -285,7 +285,7 @@ class Python < Formula <<-EOF.undent # This file is created by Homebrew and is executed on each python startup. # Don't print from here, or else python command line scripts may fail! - # + # import re import os import sys @@ -341,7 +341,7 @@ class Python < Formula They will install into the site-package directory #{site_packages} - See: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Homebrew-and-Python.md + See: https://github.com/Homebrew/brew/blob/master/docs/Homebrew-and-Python.md EOS end diff --git a/Formula/python3.rb b/Formula/python3.rb index ebee0f70964..00875128f45 100644 --- a/Formula/python3.rb +++ b/Formula/python3.rb @@ -307,7 +307,7 @@ class Python3 < Formula <<-EOF.undent # This file is created by Homebrew and is executed on each python startup. # Don't print from here, or else python command line scripts may fail! - # + # import re import os import sys @@ -352,7 +352,7 @@ class Python3 < Formula They will install into the site-package directory #{site_packages} - See: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Homebrew-and-Python.md + See: https://github.com/Homebrew/brew/blob/master/docs/Homebrew-and-Python.md EOS # Tk warning only for 10.6 diff --git a/README.md b/README.md index fc40061efc2..8c010668e00 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Just `brew install `. This is the default tap for Homebrew and is insta ## Troubleshooting First, please run `brew update` (twice) and `brew doctor`. -Second, read the [Troubleshooting Checklist](https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting). +Second, read the [Troubleshooting Checklist](https://github.com/Homebrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting). **If you don’t read these it will take us far longer to help you with your problem.**