Last active
December 11, 2015 23:48
-
-
Save zph/4679307 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Slow process, CPU intensive, and takes up extra storage space | |
# But allows using DASH to easily reference RubyGem Rdocs!!! | |
`gem list | cut -d'(' -f1`.split("\n").map(&:rstrip).each do |g| | |
`gem rdoc #{g} --rdoc --overwrite` | |
puts "#{g} rdoc generated" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works too, but it generates the RI docs that I didn't want.