Closed timaschew closed 10 years ago
Codo traverses the tree with the following steps:
./lib/entites
. Every file has looksLike
method allowing you to describe the node. Documentation
.In your case it's already a defined node Entities.Method
. All you have to do is to teach Codo how to parse @block
inside of Documentation
class.
First of all thanks for this great tool :pray:
I want to customize the output for files (non classes). I already debug codo and find out that I have access to the complete syntax tree. So it should possible but I'm not sure where (in which file) and how I should do the modifications to let it be optimal.
I don't found any detailed documentation for that ;)
So I want to generate a documentation for my server.coffee with REST routes. I'm using express an wrap the route definitions into a register function:
So
@block
does look into thevalue.body
of anode
(the body of theregister
function). Thehelper
function is no problem but the rest routes aren't function definitions, just expressions and the comment above each of them is not part of the node.So my questions are:
@block
feature?