Skip to content

Commit

Permalink
Add home page link to output message (#1165)
Browse files Browse the repository at this point in the history
The link is clickable in the terminal and opens the home page in the browser
  • Loading branch information
st0012 authored Sep 27, 2024
1 parent 964a198 commit b7d580a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rdoc/rdoc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ def generate
Dir.chdir @options.op_dir do
unless @options.quiet then
$stderr.puts "\nGenerating #{@generator.class.name.sub(/^.*::/, '')} format into #{Dir.pwd}..."
$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\\"
end

@generator.generate
Expand Down

0 comments on commit b7d580a

Please sign in to comment.