lib/sdoc/generators/shtml_generator.rb in voloko-sdoc-0.0.2 vs lib/sdoc/generators/shtml_generator.rb in voloko-sdoc-0.0.4
- old
+ new
@@ -325,16 +325,16 @@
end
if @options.inline_source
code = m.source_code
row["sourcecode"] = code if code
- row["github_url"] = m.github_url
+ row["github_url"] = m.github_url if @options.github_url
else
code = m.src_url
if code
row["codeurl"] = code
row["imgurl"] = m.img_url
- row["github_url"] = m.github_url
+ row["github_url"] = m.github_url if @options.github_url
end
end
res << row
end
end
\ No newline at end of file