bluetechnx
June 10th, 2005, 02:43 PM
Hello,
Well...there was a thread a while ago about how api.rubyonrails.com used a different style guideline to generate the html.
Somebody mentioned that the jamis file was used to make it look that way, as opposed to say the more bland default gray look...
Anyways, after some mucking around I came across this partial solution which doesn't appear to be working. Any help is appreciated:
# jamis template location:
# http://www.jamisbuck.org/svn/rdoc-templates/jamis.rb
# To use it, copy it into the “rdoc/generators/template/html” directory of your
# Ruby installation (i.e., on my machine,
# ”/usr/local/lib/ruby/1.8/rdoc/generators/template/html”). Then, when you run
# rdoc, just pass ”—template=jamis” and you should be good to go.
# I thought this was legal syntax, should generate rdoc using jamis template
gem rdoc [gem_name] --template=jamis
##This was legal syntax, and shoulda worked...I though
gem rdoc [GEMNAME] --config-file jamis
...but the rdoc is still fugly....:( any ideas?
Well...there was a thread a while ago about how api.rubyonrails.com used a different style guideline to generate the html.
Somebody mentioned that the jamis file was used to make it look that way, as opposed to say the more bland default gray look...
Anyways, after some mucking around I came across this partial solution which doesn't appear to be working. Any help is appreciated:
# jamis template location:
# http://www.jamisbuck.org/svn/rdoc-templates/jamis.rb
# To use it, copy it into the “rdoc/generators/template/html” directory of your
# Ruby installation (i.e., on my machine,
# ”/usr/local/lib/ruby/1.8/rdoc/generators/template/html”). Then, when you run
# rdoc, just pass ”—template=jamis” and you should be good to go.
# I thought this was legal syntax, should generate rdoc using jamis template
gem rdoc [gem_name] --template=jamis
##This was legal syntax, and shoulda worked...I though
gem rdoc [GEMNAME] --config-file jamis
...but the rdoc is still fugly....:( any ideas?