From 7b02304b64adbf693d555ffc5b94ac8c1c137526 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 26 Oct 2014 15:42:41 +0000 Subject: [PATCH] Improve API documentation output. And include more files. --- .yardopts | 4 +++- Library/Homebrew/{API.md => README.md} | 0 Library/Homebrew/os/mac/xquartz.rb | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) rename Library/Homebrew/{API.md => README.md} (100%) diff --git a/.yardopts b/.yardopts index aead7677f6..821b67c367 100644 --- a/.yardopts +++ b/.yardopts @@ -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 diff --git a/Library/Homebrew/API.md b/Library/Homebrew/README.md similarity index 100% rename from Library/Homebrew/API.md rename to Library/Homebrew/README.md diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb index 439c1b4db1..79b50df44e 100644 --- a/Library/Homebrew/os/mac/xquartz.rb +++ b/Library/Homebrew/os/mac/xquartz.rb @@ -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')