From 8f751aaf51781e42730e7f5b16e196710f987ecb Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 7 May 2017 00:30:49 +0100 Subject: [PATCH 1/4] Fix internal links --- docs/Manpage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Manpage.md b/docs/Manpage.md index fcc6cf4a0c167..142f923aa9ab6 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -167,7 +167,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note Upload logs for a failed build of `formula` to a new Gist. `formula` is usually the name of the formula to install, but it can be specified - in several different ways. See [SPECIFYING FORMULAE][]. + in several different ways. See [SPECIFYING FORMULAE][#specifying-formulae]. If `--new-issue` is passed, automatically create a new issue in the appropriate GitHub repository as well as creating the Gist. @@ -202,7 +202,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note Install `formula`. `formula` is usually the name of the formula to install, but it can be specified - in several different ways. See [SPECIFYING FORMULAE][]. + in several different ways. See [SPECIFYING FORMULAE][#specifying-formulae]. If `--debug` (or `-d`) is passed and brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory. From 8c214ed16ddb2ad70d697d6f116c36114e37fe3f Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 7 May 2017 00:35:36 +0100 Subject: [PATCH 2/4] Fix the link code --- docs/Manpage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Manpage.md b/docs/Manpage.md index 142f923aa9ab6..26b3517190773 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -167,7 +167,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note Upload logs for a failed build of `formula` to a new Gist. `formula` is usually the name of the formula to install, but it can be specified - in several different ways. See [SPECIFYING FORMULAE][#specifying-formulae]. + in several different ways. See [SPECIFYING FORMULAE](#specifying-formulae). If `--new-issue` is passed, automatically create a new issue in the appropriate GitHub repository as well as creating the Gist. @@ -202,7 +202,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note Install `formula`. `formula` is usually the name of the formula to install, but it can be specified - in several different ways. See [SPECIFYING FORMULAE][#specifying-formulae]. + in several different ways. See [SPECIFYING FORMULAE](#specifying-formulae). If `--debug` (or `-d`) is passed and brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory. From 88cef8118e51b2b58eab9f5e8eaef6258b9d63ef Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 7 May 2017 00:45:02 +0100 Subject: [PATCH 3/4] Fix another internal link --- docs/Manpage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Manpage.md b/docs/Manpage.md index 26b3517190773..fdef2dd8a4da2 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -13,7 +13,7 @@ didn't include with macOS. ## ESSENTIAL COMMANDS -For the full command list, see the [COMMANDS][] section. +For the full command list, see the [COMMANDS](#commands) section. With `--verbose` or `-v`, many commands print extra debugging information. Note that these flags should only appear after a command. From 9e17e44b3e16c9eb8d3f9e6baf8a92353fc8bd67 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 4 Jun 2017 11:12:56 +0100 Subject: [PATCH 4/4] Change manpage internal links in correct location. --- Library/Homebrew/cmd/gist-logs.rb | 2 +- Library/Homebrew/cmd/install.rb | 2 +- Library/Homebrew/manpages/brew.1.md.erb | 2 +- manpages/brew-cask.1 | 2 +- manpages/brew.1 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/cmd/gist-logs.rb b/Library/Homebrew/cmd/gist-logs.rb index fecdc25a05392..012121b085d24 100644 --- a/Library/Homebrew/cmd/gist-logs.rb +++ b/Library/Homebrew/cmd/gist-logs.rb @@ -2,7 +2,7 @@ #: Upload logs for a failed build of to a new Gist. #: #: is usually the name of the formula to install, but it can be specified -#: in several different ways. See [SPECIFYING FORMULAE][]. +#: in several different ways. See [SPECIFYING FORMULAE](#specifying-formulae). #: #: If `--new-issue` is passed, automatically create a new issue in the appropriate #: GitHub repository as well as creating the Gist. diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 394b31db04077..08d1ffccfecb6 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -2,7 +2,7 @@ #: Install . #: #: is usually the name of the formula to install, but it can be specified -#: in several different ways. See [SPECIFYING FORMULAE][]. +#: in several different ways. See [SPECIFYING FORMULAE](#specifying-formulae). #: #: If `--debug` (or `-d`) is passed and brewing fails, open an interactive debugging #: session with access to IRB or a shell inside the temporary build directory. diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb index 5b0228e3f2132..7ae30bb162a0c 100644 --- a/Library/Homebrew/manpages/brew.1.md.erb +++ b/Library/Homebrew/manpages/brew.1.md.erb @@ -24,7 +24,7 @@ didn't include with macOS. ## ESSENTIAL COMMANDS -For the full command list, see the [COMMANDS][] section. +For the full command list, see the [COMMANDS](#commands) section. With `--verbose` or `-v`, many commands print extra debugging information. Note that these flags should only appear after a command. diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1 index bde8ff3c28d26..02813a8bbfe9c 100644 --- a/manpages/brew-cask.1 +++ b/manpages/brew-cask.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW\-CASK" "1" "May 2017" "Homebrew" "brew-cask" +.TH "BREW\-CASK" "1" "June 2017" "Homebrew" "brew-cask" . .SH "NAME" \fBbrew\-cask\fR \- a friendly binary installer for macOS diff --git a/manpages/brew.1 b/manpages/brew.1 index 58c2c210c2692..7e09bb2e1ade1 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW" "1" "May 2017" "Homebrew" "brew" +.TH "BREW" "1" "June 2017" "Homebrew" "brew" . .SH "NAME" \fBbrew\fR \- The missing package manager for macOS