Open DanRathbun opened 1 year ago
The Ruby API docs are not using Markdown, it's using Rdoc. I wish it was Markdown, but we've not had the time to reformat everything to Markdown. (The additional pages are Markdown, but not the doc comments)
Could this be a template issue ? I mean is it possible to convert these "rdoc-image:" tags to inline <img>
HTML elements ?
Let's label this as question, answered and close it. Any further discussion can happen in the API Stubs repo issue thread: https://github.com/SketchUp/ruby-api-stubs/issues/78
SketchUp API Documentation Issue
The
"rdoc-image:"
tags do not work for locally generated YARD doc pages.(I use the Redcarpet markdown parser gem, btw.)
This is occurring with:
Geom::tesselate
- Polygon with two holes imageSketchup::EntitiesBuilder
class Overview - The example triangulated grid imageSketchup::Face#uv_tile_at
- "face-uv-tile-at.png"Sketchup::View#draw_text
- vertical alignments imageFor example, I have to edit them to use markdown image links, ie:
... must be changed to:
Note, the above link is from the
"Geom.rb"
file (later"Geom.html"
) which is in the same folder as the"images"
folder.The other class files need
"../"
prepended to their image paths because they are in subfolders of the"doc"
directory. Ie, forSketchup::View#draw_text
's image:~