From 39788216bd361e85017da48b9abbede4577be5d1 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 23 Feb 2018 14:48:48 +0000 Subject: [PATCH] Shorten docs.brew.sh links. --- CONTRIBUTING.md | 8 ++++---- Formula/postgresql@9.4.rb | 2 +- Formula/pypy.rb | 2 +- Formula/pypy3.rb | 2 +- Formula/python.rb | 4 ++-- Formula/python3.rb | 4 ++-- README.md | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7e2ae9fcb1b56..794f9621494bd 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://docs.brew.sh/Troubleshooting.html) +* read [the Troubleshooting Checklist](https://docs.brew.sh/Troubleshooting) * open an issue on the formula's repository ### Submit a version upgrade for the `foo` formula @@ -16,11 +16,11 @@ First time contributing to Homebrew? Read our [Code of Conduct](https://github.c ### Add a new formula for `foo` version `2.3.4` from `$URL` -* read [the Formula Cookbook](https://docs.brew.sh/Formula-Cookbook.html) or: `brew create $URL` and make edits +* read [the Formula Cookbook](https://docs.brew.sh/Formula-Cookbook) or: `brew create $URL` and make edits * `brew install --build-from-source foo` * `brew audit --new-formula foo` * `git commit` with message formatted `foo 2.3.4 (new formula)` -* [open a pull request](https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request.html) and fix any failing tests +* [open a pull request](https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request) and fix any failing tests ### Contribute a fix to the `foo` formula @@ -28,6 +28,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 uninstall --force foo`, `brew install --build-from-source foo`, `brew test foo`, and `brew audit --strict foo` * `git commit` with message formatted `foo: fix ` -* [open a pull request](https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request.html) and fix any failing tests +* [open a pull request](https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request) and fix any failing tests Thanks! diff --git a/Formula/postgresql@9.4.rb b/Formula/postgresql@9.4.rb index 03fdb3bfaee61..57bd81c4803e0 100644 --- a/Formula/postgresql@9.4.rb +++ b/Formula/postgresql@9.4.rb @@ -93,7 +93,7 @@ def caveats ARCHFLAGS="-arch x86_64" gem install pg To install gems without sudo, see the Homebrew documentation: - https://github.com/Homebrew/brew/blob/master/docs/Gems%2C-Eggs-and-Perl-Modules.md + https://docs.brew.sh/Gems,-Eggs-and-Perl-Modules EOS end diff --git a/Formula/pypy.rb b/Formula/pypy.rb index ff2ceeed44029..ba29f73402c8b 100644 --- a/Formula/pypy.rb +++ b/Formula/pypy.rb @@ -140,7 +140,7 @@ def caveats; <<~EOS To update setuptools and pip between pypy releases, run: pip_pypy install --upgrade pip setuptools - See: https://docs.brew.sh/Homebrew-and-Python.html + See: https://docs.brew.sh/Homebrew-and-Python EOS end diff --git a/Formula/pypy3.rb b/Formula/pypy3.rb index d65c2b7c5c120..ad6eaa6fba60f 100644 --- a/Formula/pypy3.rb +++ b/Formula/pypy3.rb @@ -185,7 +185,7 @@ def caveats; <<~EOS To update pip and setuptools between pypy3 releases, run: pip_pypy3 install --upgrade pip setuptools - See: https://docs.brew.sh/Homebrew-and-Python.html + See: https://docs.brew.sh/Homebrew-and-Python EOS end diff --git a/Formula/python.rb b/Formula/python.rb index 77c41f43fac54..6efe1b0443b2f 100644 --- a/Formula/python.rb +++ b/Formula/python.rb @@ -313,7 +313,7 @@ def sitecustomize <<~EOS # 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 @@ -374,7 +374,7 @@ def caveats; <<~EOS They will install into the site-package directory #{site_packages} - See: https://docs.brew.sh/Homebrew-and-Python.html + See: https://docs.brew.sh/Homebrew-and-Python EOS end diff --git a/Formula/python3.rb b/Formula/python3.rb index 3e1979bbf2e61..d5c3151a81ed1 100644 --- a/Formula/python3.rb +++ b/Formula/python3.rb @@ -290,7 +290,7 @@ def sitecustomize <<~EOS # 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 @@ -340,7 +340,7 @@ def caveats They will install into the site-package directory #{HOMEBREW_PREFIX/"lib/python#{xy}/site-packages"} - See: https://docs.brew.sh/Homebrew-and-Python.html + See: https://docs.brew.sh/Homebrew-and-Python EOS # Tk warning only for 10.6 diff --git a/README.md b/README.md index ff045dbdd150d..0831f5a07858a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Just `brew install `. This is the default tap for Homebrew and is insta ## Troubleshooting First, please run `brew update` and `brew doctor`. -Second, read the [Troubleshooting Checklist](https://docs.brew.sh/Troubleshooting.html). +Second, read the [Troubleshooting Checklist](https://docs.brew.sh/Troubleshooting). **If you don't read these it will take us far longer to help you with your problem.**