From 2a513b6cedf91e97fa880d576a52b89688bd72bc Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 27 Aug 2024 23:11:20 +0100 Subject: [PATCH] Add home page link to output message The link is clickable in the terminal and opens the home page in the browser --- lib/rdoc/rdoc.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rdoc/rdoc.rb b/lib/rdoc/rdoc.rb index 47108ceee3..88ae55b409 100644 --- a/lib/rdoc/rdoc.rb +++ b/lib/rdoc/rdoc.rb @@ -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