Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8945

Show
Ignore:
Timestamp:
02/29/08 01:10:54 (7 months ago)
Author:
tobie
Message:

pdoc: minute syntax change.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinoffs/pdoc/trunk/lib/p_doc/generators/html/website.rb

    r8944 r8945  
    1212        end 
    1313         
    14         def to_html 
     14        def render 
    1515          Page.new("index", "layout", variables).render_to_file("index.html") 
    1616           
     
    2222            section.children.each{ |d| build_tree(d) } 
    2323          end 
     24           
    2425          copy_assets 
    2526           
  • spinoffs/pdoc/trunk/rakefile

    r8944 r8945  
    44desc "Builds the documentation" 
    55task :build_doc do 
    6   PDoc::Generators::Html::Website.new(File.expand_path(File.join(File.dirname(__FILE__), "test", "fixtures", "ajax.js"))).to_html 
     6  PDoc::Generators::Html::Website.new(File.expand_path(File.join(File.dirname(__FILE__), "test", "fixtures", "ajax.js"))).render 
    77end 
    88