You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, for Sketchup::View#draw_text's image:
# **Example of different vertical alignment and text bounds:**## ![Vertical Text Alignments](../images/view-draw-text-with-bounds.png)
~
The text was updated successfully, but these errors were encountered:
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)
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:
# rdoc-image:images/geom-tesselation-polygon-with-holes.png
... must be changed to:
# ![](images/geom-tesselation-polygon-with-holes.png)
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, for
Sketchup::View#draw_text
's image:~
The text was updated successfully, but these errors were encountered: