Rdoc hosting?

M

Matt Bleh

Hi,
I've started using GitHub and I really liked the idea of the rdoc.info
web-hook (which generated ruby documentation after every commit). The
problem is that I thought rdoc.info was actually for RDoc documentation,
but it's for YARD.
Do any of you know of a similar server which could host RDoc
documentation? Or any simple and free hosting service that would let me
publish rdoc's html files with a web-hook from github?

Thanks
 
E

Eric Hodel

I've started using GitHub and I really liked the idea of the rdoc.info
web-hook (which generated ruby documentation after every commit). The
problem is that I thought rdoc.info was actually for RDoc = documentation,
but it's for YARD.
Do any of you know of a similar server which could host RDoc
documentation? Or any simple and free hosting service that would let = me
publish rdoc's html files with a web-hook from github?

I've been trying to get rdoc.com or rdoc.net for that purpose, but =
they're domain squatted for outrageous prices.=
 
M

Matt Bleh

Eric said:
I've been trying to get rdoc.com or rdoc.net for that purpose, but
they're domain squatted for outrageous prices.

Well, if it is just a matter of domain availability I think there are
plenty of services available for subdomains under an acceptable domain
(as dyndns used to offer, but I think now it displays ads).
 
E

Eric Hodel

Well, if it is just a matter of domain availability I think there are
plenty of services available for subdomains under an acceptable domain
(as dyndns used to offer, but I think now it displays ads).

Maybe rdoc.rubygems.org? I already have control of DNS there...
 
I

Intransition

Hi,
I've started using GitHub and I really liked the idea of the rdoc.info
web-hook (which generated ruby documentation after every commit). The
problem is that I thought rdoc.info was actually for RDoc documentation,
but it's for YARD.
Do any of you know of a similar server which could host RDoc
documentation? Or any simple and free hosting service that would let me
publish rdoc's html files with a web-hook from github?

You can host your RDoc on GitHub. Just generate your rdocs to a
project directory --I use doc/rdoc/, then use the grancher gem to push
them to a gh-pages branch. If you want to have a website too, say in
the site/ directory, then ln -s ../doc/rdoc site/rdoc, and add an <a
href=3D"rdoc"> in your webpage. And use grancher on the site/ directory
instead. Your rdoc will be available at http://youraccount.github.com/yourp=
roject/rdoc.
 
M

Matt Bleh

Thomas said:
You can host your RDoc on GitHub. Just generate your rdocs to a
project directory --I use doc/rdoc/, then use the grancher gem to push
them to a gh-pages branch. If you want to have a website too, say in
the site/ directory, then ln -s ../doc/rdoc site/rdoc, and add an <a
href="rdoc"> in your webpage. And use grancher on the site/ directory
instead. Your rdoc will be available at
http://youraccount.github.com/yourproject/rdoc.

Well, that's good to know. In any case, what I liked about the service
hook is that you don't need to remember to update the documentation
manually every time.
Also, for some reason, my project's page never gets published, so I
can't rely on that (my user page is publish though).

Maybe for the time being I'll use rdoc.info (since actually YARD is
kinda compatible with RDoc comments, but not fully) for that reason.
 
R

Ryan Davis

Well, that's good to know. In any case, what I liked about the service
hook is that you don't need to remember to update the documentation
manually every time.

hoe also automatically publishes every time you release as well...

Add "publish_on_announce: true" to your .hoerc and you're set.
 
D

Dreamcat Four

Well, that's good to know. In any case, what I liked about the service
hook is that you don't need to remember to update the documentation
manually every time.
Also, for some reason, my project's page never gets published, so I
can't rely on that (my user page is publish though).

Maybe for the time being I'll use rdoc.info (since actually YARD is
kinda compatible with RDoc comments, but not fully) for that reason.

That hoe suggestion was good. Although Jeweler has grown to be more
popular than hoe for new work. So maybe we should also add this
functionality into the jeweler gem. Grancher + yardoc/rdoc generation.

Jewler could hide the generated docs away in its cache directory and
automate the process through a rake task. And include the gh-pages push
in jeweler's "rake release" task.

It would ensure the documentation is always in sync with whats released
to gemcutter.


dreamcat4
(e-mail address removed)
 
J

Jean-denis Vauguet

Dreamcat said:
Jewler could hide the generated docs away in its cache directory and
automate the process through a rake task. And include the gh-pages push
in jeweler's "rake release" task.

It would ensure the documentation is always in sync with whats released
to gemcutter.

That would be terrific.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,790
Messages
2,569,637
Members
45,346
Latest member
EstebanCoa

Latest Threads

Top