Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
How does one generate a "main page" for rdoc documentation?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Igor Pirnovar, post: 4632237"] You must be a rather disorganized computer ... Each project that deserves to be processed with rdoc should be in a separate directory, and there will be absolutely no surprise what file rdoc will pick up. All of you guys seem to have missed the main idea behind the rdoc, which is to convert the in-line comments to external documentation. The rdoc package documents have three sections: Files, Classes and Methods, and for each of them rdoc creates a separate "html" file which are then managed from the top level index.html. The file level / header documentation may be included in every file an is what is what I above called the application doc. All these different pieces of info are displayed under the Files, Classes, and Methods sections at the top of the rdoc web-page, so you can choose what you are interested in by clicking on the individual items there. Indeed, you can create a README.rb, HEADER.rb or anything you like to pack in and squirrel away the header (application level) documentation, but that defeats the original rdoc strategy which is document as you go - converting the in-line comments to documentation. If you follow the rdoc rules you will end-up with a pretty decent documentation without the need for too much extra efforts, as long as you have the discipline to document what you are doing. That is how rdoc works, and there isn't very much you can do about it. Yes, I would like it to provide a directive to include images, for instance, I sometimes add class and object diagrams, but in order to do that you have to tweak the doc/*.html. In fact, one day I may add just such an extension for rdoc myself, unless someone else doesn't take my advice and does it for me ;) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
How does one generate a "main page" for rdoc documentation?
Top