RDoc questions

L

listrecv

I think RDoc is great. Three questions:

1) How do I put RDoc's for an attribute?

2) 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.

3) 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...)
 
J

Joel VanderWerf

I think RDoc is great. Three questions:

1) 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

2) 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.

3) 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] rdoc 3.6 Released 4
Rdoc 1
[ANN] rdoc 2.5 Released 7
rdoc doesn't recognize block comments anymore 1
[ANN] RDoc 3 6
[ANN] rdoc 3.3 Released 0
[ANN] rdoc 3.1 Released 0
Rdoc hosting? 8

Members online

No members online now.

Forum statistics

Threads
474,197
Messages
2,571,038
Members
47,633
Latest member
BriannaLyk

Latest Threads

Top