Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b0090c8f4c
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.472 kb
require 'rubygems'
require_gem 'RedCloth'
cdocs = 'chipmunk-docs'
rc_cdocs = RedCloth.new(File.read(cdocs + '.textile'))
html_cdocs = <<HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
#{rc_cdocs.to_html}
HTML
File.open("../#{cdocs}.html", 'w') do|f|
f.write html_cdocs
end
system 'rdoc doc_dummy.rb'
system 'mv doc ../ruby/doc'
Jump to Line
Something went wrong with that request. Please try again.