Gavin Sinclair wrote:
James, can we host the online docs at ruby-doc.org? I think that's
where it belongs. I'll distribute tarballs through rubyforge as it's
easy to upload them, but I'm also thinking of other distribution
mechanisms. Some sort of automatic update would be cool ...
Sure. I actually did a site copy to grab the pages, with the plan to
put a copy on ruby-doc, but it's fallen off my to-do list while I get
ready for RubyConf 2003.
Some sort of auto-fetch would be nice to ensure it's up-to-date.
BTW, do the HTML pages have anchor tages for various topics? I haven't
really looked myself, but I'm wondering if there is a nice way to build
easy URLs for fetching docs by class/method name, the way you can for
the pickaxe:
http://www.ruby-doc.org/find/pickaxe/Array
I'd like to see something like
http://www.ruby-doc.org/find/stdlib/Yaml
'find' is a ruby script that uses the path_info do load a page, but
requires the pages to have predictable names and anchors.
Anyway, is it possible for me to be able to send a tarball (upload,
email, rsync, ...) to ruby-doc.org and have it automatically unpacked
ready for display on the website?
I'm sure. Either I can run a cron job to fethc a file via ftp, and then
unpack it, or job that checks of a new version has been uploaded.
Any other thoughts on hosting?
Just that I would like to get the online version of ri++ in better
shape, mainly by using the newly-doc'ed stdlib.
James
Cheers,
Gavin
|