Assets with wrong paths

's Avatar

pw

26 Dec, 2013 09:51 PM

Hi,

I have a couple of diagrams in my project: http://rubydoc.info/gems/ipaccess/

For example there is a markdown document containing just one image:

https://github.com/siefca/IPAccess/blob/master/docs/img_view.md

It's basically one line:

IPAccess classes overview

The images subdirectory contains the image and my .yardopts specify: --asset docs/images:images

What I'm trying to do is to embed contents of this docs/img_view.md to illustrate some method. So I have a line:

{include:file:docs/img_view.md}

In this file:

https://github.com/siefca/IPAccess/blob/master/lib/ipaccess/core.rb

The problem is that document img_view.md isn't included. Alone it renders correctly:

http://rubydoc.info/gems/ipaccess/1.2.5/file/docs/img_view.md

Should I change the path somewhere or is it Rubydoc's issue?

Regards,
Paweł

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac