Sha256: 58106d39fc75b1f38d469682e54c0d083b2f08253afb79445d2d5b770f5968ff

Contents?: true

Size: 679 Bytes

Versions: 5

Compression:

Stored size: 679 Bytes

Contents

### RubyGem Images

Use the markdown helper to resolve image paths for a Ruby gem.

When you release your GitHub project to  gem at RubyGems.org, the documentation is rebuilt into files on RubyDoc.info.  When YARD performs this rebuilding, it does some directory restructuring.

If a markdown file contains an image description that has a relative file path, that path will not be valid in the documentation on RubyDoc.info, and the image will not display in the documentation.

To avoid that error, use the markdown helper to resolve the relative path to an absolute path.  This new absolute path points to a file that's automatically maintained in the GitHub project.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
markdown_helper-1.7.0 markdown/use_cases/gemify_images/template.md
markdown_helper-1.6.1 markdown/use_cases/rubygem_images.md
markdown_helper-1.6.0 markdown/use_cases/rubygem_images.md
markdown_helper-1.5.1 readme_files/use_cases/rubygem_images.md
markdown_helper-1.5.0 readme_files/use_cases/rubygem_images.md