fdoc icon indicating copy to clipboard operation
fdoc copied to clipboard

fdoc error when converting to html in rails

Open vikks opened this issue 11 years ago • 1 comments

 - docs/fdoc              
  - blog.fdoc.meta  
  - posts                   
    - POST.fdoc   
    - posts.fdoc.service
  - comments
      - POST.fdoc 
      - comments.fdoc.service
 - docs/fdoc              
    - blog.fdoc.meta                   
    - posts-POST.fdoc   
    - posts.fdoc.service   
    - comments-POST.fdoc 
    - comments.fdoc.service

docs/fdoc/blog.fdoc.meta contains

   name: blog
   services:
   - ../fdoc/posts
   - ../fdoc/comments

When i try to convert from fdoc to html i get

fdoc-0.3.2/lib/fdoc/presenters/meta_service_presenter.rb:43:in block in endpoints': undefined method<<' for nil:NilClass (NoMethodError)

If i rename posts/POST.fdoc to something else like posts/fsfadsfad-POST.fdoc it works fine.

if i dont include fdoc.meta file, it produces endpoints correctly but without the names of posts and comments services listed.

What am i doin wrong here?...

vikks avatar Jan 15 '14 06:01 vikks

Same issue.

randomizor avatar Apr 15 '15 19:04 randomizor