Skip to content

fdoc error when converting to html in rails #55

Description

@vikks
 - 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?...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions