Skip to content

Commit b7d580a

Browse files
authored
Add home page link to output message (ruby#1165)
The link is clickable in the terminal and opens the home page in the browser
1 parent 964a198 commit b7d580a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rdoc/rdoc.rb

+1
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ def generate
520520
Dir.chdir @options.op_dir do
521521
unless @options.quiet then
522522
$stderr.puts "\nGenerating #{@generator.class.name.sub(/^.*::/, '')} format into #{Dir.pwd}..."
523+
$stderr.puts "\nYou can visit the home page at: \e]8;;file://#{Dir.pwd}/index.html\e\\file://#{Dir.pwd}/index.html\e]8;;\e\\"
523524
end
524525

525526
@generator.generate

0 commit comments

Comments
 (0)