Two solutions are possible:
    
    
    proc foo() =
       ## .. include:: foo_desc.rst
       onlyAsingleUglyCommentLine
    
    
    Run

Or you use a macro.
    
    
    document:
      ## doc comment here.
      proc foo() = implementation
    
    
    Run

I think putting the doc comment above the proc header is terrible style though, 
the proc header is the natural "header". But to each his own I guess.

Reply via email to