Adrian Serafin Adrian Serafin - 10 months ago 57
Ruby Question

yard, How to include image to documentation?

I want to include image in yard-genereted documentation, but can't find anywhere how to do this... Does anyone know how to do this?


You can just add <img /> tag to your documentation:

 # Blah-blah 
 # <img src=img/1.png />
 # @param [String] blah
 # @return [String] blah
 def foo(bar)