gem & rdoc: How to avoid "Could not find main page name" warningwhen using gems?

T

Thomas

Hi,

When I automatically the rdoc documentation of a gem I made, I always
get this error/warning. I know there is a rdoc command-line option for
defining the main page when invoking rdoc from the command line. But how
do I pass this option from via a gemspec?

Also, Pickaxe 2 mentions a rdoc directive :main: that should set the
main page. But this directive is unknown in the 1.8.2 (cygwin)
distribution. Does the book refer to an upcoming version?

Regards,
Thomas.
 
C

Chad Fowler

Hi,
=20
When I automatically the rdoc documentation of a gem I made, I always
get this error/warning. I know there is a rdoc command-line option for
defining the main page when invoking rdoc from the command line. But how
do I pass this option from via a gemspec?
=20
Also, Pickaxe 2 mentions a rdoc directive :main: that should set the
main page. But this directive is unknown in the 1.8.2 (cygwin)
distribution. Does the book refer to an upcoming version?
=20

Hi. You can see how to specify rdoc options here:

http://docs.rubygems.org/read/chapter/20#rdoc_options

--=20
Chad Fowler
http://chadfowler.com
http://rubycentral.org=20
http://rubygarden.org=20
http://rubygems.rubyforge.org (over 800,000 gems served!)
 

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

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top