api_documenter Use the DSL to create a ruby script, then simply execute the script and redirect the output to an html file. ruby example.rb > example.out.html