Changeset 8945
- Timestamp:
- 02/29/08 01:10:54 (7 months ago)
- Files:
-
- spinoffs/pdoc/trunk/lib/p_doc/generators/html/website.rb (modified) (2 diffs)
- spinoffs/pdoc/trunk/rakefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
spinoffs/pdoc/trunk/lib/p_doc/generators/html/website.rb
r8944 r8945 12 12 end 13 13 14 def to_html14 def render 15 15 Page.new("index", "layout", variables).render_to_file("index.html") 16 16 … … 22 22 section.children.each{ |d| build_tree(d) } 23 23 end 24 24 25 copy_assets 25 26 spinoffs/pdoc/trunk/rakefile
r8944 r8945 4 4 desc "Builds the documentation" 5 5 task :build_doc do 6 PDoc::Generators::Html::Website.new(File.expand_path(File.join(File.dirname(__FILE__), "test", "fixtures", "ajax.js"))). to_html6 PDoc::Generators::Html::Website.new(File.expand_path(File.join(File.dirname(__FILE__), "test", "fixtures", "ajax.js"))).render 7 7 end 8 8