mislav / hanna

More than just a new RDoc template
MIT License
234 stars 40 forks source link

RDoc 2.4? #3

Open trans opened 14 years ago

trans commented 14 years ago

Any idea when hanna will be able to work with RDoc 2.4+? I would much rather upgrade hanna then downgrade rdoc ;-) Thanks.

mislav commented 14 years ago

It already works in the rdoc24 branch, but the template isn't complete. The next release will be mind-blowingly awesome, I'll try to finish it by the end of the month. Until then, you can use last Hanna stable release normally. It doesn't matter if you got RDoc 2.4 installed, Hanna will load an older version of RDoc from RubyGems. (Check its gem dependencies and loading code if you're unsure what I mean.)

Just don't use the "rdoc" command (that loads the latest RDoc)—use "hanna" command or require "hanna/rdoctask" in your Rakefile to create an "rdoc" rake task.

gravis commented 14 years ago

not working as expected :) I had to uninstall rdoc 2.4.3 to have hanna working again

mislav commented 14 years ago

It would be helpful if you explained how is it not working and how are you triggering doc generation. Paste any errors, stack traces etc.

gravis commented 14 years ago

Yes, really sorry, I didn't want to be impolite (hanna is great, and I'm a huge fan of will_paginate). I've posted a gist here : http://gist.github.com/188106 then you can see the full "trace" (mostly a "invalid argument: --format=html").

mislav commented 14 years ago

Thanks, that helped me realize the problem. I think I nailed it -- try the v0.1.9. (Not sure why GitHub didn't yet rebuild the gem)

gravis commented 14 years ago

Yep, Github still haven't buit the gem yet, I've built it from your source. Anyway, I still have the same error :( http://gist.github.com/188398

mislav commented 14 years ago

I've messed up the gemspec. Version 0.1.10 is now built.

As for your error; you should have at least Rubygems 1.3.2

gravis commented 14 years ago

Thanks, it's working now !

rubiii commented 14 years ago

any news on when rdoc 2.4 will be the default? because i heard that version 2.5 is going to be released pretty soon.

raggi commented 13 years ago

http://github.com/raggi/hanna my fork supports 2.5, the bulk of the work for that feature was done by erikh