| Age | Commit message (Collapse) | Author |
|
|
|
Also, flag those that we never want to be in a manpage.
|
|
|
|
|
|
Also, check in this manpage, adjust the Rakefile and remove the old one.
Fixes #731.
|
|
Closes #402.
|
|
|
|
|
|
Library/Homebrew/cmd/man.rb:44: warning: assigned but unused variable - commands
Closes #116.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
This reverts commit 2caf7b76bb3e09ffabf8c56d3934ba8190673fdc.
|
|
Library/Homebrew/cmd/man.rb:44: warning: assigned but unused variable - commands
|
|
|
|
|
|
Split monolithic method into more manageable chunks and fix code style.
|
|
This is also used by `brew <cmd> --help`. The basic idea is to have the
documentation as a top level comment in each command file. To find these
comments, they have to be like this `#:`.
This is also used by the `brew man` command to keep the documentation
DRY, and for that there are now a header and footer for the man page.
|
|
Also use `popen_read` instead of `safe_system` for cleaner argument
passing and write the output with `atomic_write`.
Closes Homebrew/homebrew#46826.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
|
|
|
|
And remove the documented stuff from the `example-formula.rb`.
Closes Homebrew/homebrew#43241.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#40735.
Closes Homebrew/homebrew#40736.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
This uses the logic from tests.rb in man.rb too so that this can be
shared in a few places.
|
|
Closes Homebrew/homebrew#32743.
|
|
Closes Homebrew/homebrew#32472.
|