I think RDoc is great. Three questions:
-
How do I put RDoc’s for an attribute?
-
Is there a way to tell RDoc to include htmlized source of the entire
file as well (not the just the popup source - the entire file) - on a
separate page. I find this tremendously useful. Ideally, the file
pages should have the entire file in html - so I can click and see the
whole thing in context.
-
Any chances of it hyperlinking part of the source code, not just
from the comments? (I know this is hard to do in Ruby, but RDoc seems
to do a good enough job of heuristicallty guessing…)
Can anyone help me with this?
[email protected] wrote:
I think RDoc is great. Three questions:
- How do I put RDoc’s for an attribute?
class C
Your doc here
attr_reader :foo
end
This produces docs that look like:
Attributes
foo [R] Your doc here
-
Is there a way to tell RDoc to include htmlized source of the entire
file as well (not the just the popup source - the entire file) - on a
separate page. I find this tremendously useful. Ideally, the file
pages should have the entire file in html - so I can click and see the
whole thing in context.
-
Any chances of it hyperlinking part of the source code, not just
from the comments? (I know this is hard to do in Ruby, but RDoc seems
to do a good enough job of heuristicallty guessing…)
Sorry, don’t know. Expect not.