| Class | RDoc::Generator::HTML |
| In: |
lib/rdoc/generator/html.rb
|
| Parent: | Object |
We‘re responsible for generating all the HTML files from the object tree defined in code_objects.rb. We generate:
Method descriptions appear in whatever entity (file, class, or module) that contains them.
We generate files in a structure below a specified subdirectory, normally doc.
opdir
|
|___ files
| |__ per file summaries
|
|___ classes
|__ per class/module descriptions
HTML is generated using the Template class.
Generator may need to return specific subclasses depending on the options they are passed. Because of this we create them using a factory
Build the initial indices and output objects based on an array of TopLevel objects containing the extracted information.