Skip to content

Commit

Permalink
Add home page link to output message
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 committed Aug 27, 2024
1 parent 95b6cfb commit 2a513b6
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 2a513b6

Please sign in to comment.