lib/ctioga2/commands/doc/html.rb in ctioga2-0.9 vs lib/ctioga2/commands/doc/html.rb in ctioga2-0.10
- old
+ new
@@ -301,10 +301,10 @@
when Data::Backends::BackendDescription
link = "#{@backends_url}#backend-#{it.target.name}"
when String # plain URL target
link = "#{it.target}"
else
- raise "The link target should be either a group, a command or a type, but is a #{it.target.class}"
+ raise "The link target should be either a group, a command or a type, but is a #{it.target.class} (#{it.dbg.inspect})"
end
str << "<a href='#{link}'>#{it.to_s}</a>"
when MarkedUpText::MarkupItemize
str << "<ul>\n"
for x in it.items