diff options
Diffstat (limited to 'lib/puppet/util/rdoc/generators')
-rw-r--r-- | lib/puppet/util/rdoc/generators/puppet_generator.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/util/rdoc/generators/puppet_generator.rb b/lib/puppet/util/rdoc/generators/puppet_generator.rb index c32a401bd..f73b18dce 100644 --- a/lib/puppet/util/rdoc/generators/puppet_generator.rb +++ b/lib/puppet/util/rdoc/generators/puppet_generator.rb @@ -241,7 +241,7 @@ module Generators res2 = [] collection['methods'].sort.each do |f| if f.document_self - res2 << { "href" => "../"+f.path, "name" => f.index_name.sub(/\(.*\)$/,'') } + res2 << { "href" => "../#{f.path}", "name" => f.index_name.sub(/\(.*\)$/,'') } end end @@ -593,7 +593,7 @@ module Generators @values["parent"] = CGI.escapeHTML(parent_class) if parent_name - lookup = parent_name + "::" + parent_class + lookup = parent_name + "::#{parent_class}" else lookup = parent_class end @@ -839,7 +839,7 @@ module Generators def as_href(from_path) if @options.all_one_file - "#" + path + "##{path}" else HTMLGenerator.gen_url(from_path, path) end @@ -877,7 +877,7 @@ module Generators if @options.all_one_file aref else - @html_class.path + "#" + aref + @html_class.path + "##{aref}" end end |