From b7d580afabf530b453911276e08e7aca0568c76d Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Fri, 27 Sep 2024 09:58:29 -0400 Subject: [PATCH] Add home page link to output message (#1165) 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