Improve API documentation output.

And include more files.
This commit is contained in:
Mike McQuaid 2014-10-26 15:42:41 +00:00
parent b25a7c3f3f
commit 7b02304b64
3 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,10 @@
--title "Homebrew"
--main Library/Homebrew/API.md
--main Library/Homebrew/README.md
--exclude Library/Homebrew/test/vendor/
--exclude Library/Homebrew/vendor/
Library/Homebrew/**/*.rb
-
Library/Homebrew/*.md
Library/Homebrew/manpages/*.md
share/doc/homebrew/*.md
*.md

View File

@ -90,8 +90,8 @@ module OS
end
# This should really be private, but for compatibility reasons it must
# remain public. New code should use MacOS::X11.{bin,lib,include}
# instead, as that accounts for Xcode-only systems.
# remain public. New code should use MacOS::X11.bin, MacOS::X11.lib and
# MacOS::X11.include instead, as that accounts for Xcode-only systems.
def prefix
@prefix ||= if Pathname.new('/opt/X11/lib/libpng.dylib').exist?
Pathname.new('/opt/X11')