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

Discussion in 'Ruby' started by Thomas, Aug 18, 2005.

  1. Thomas

    Thomas Guest

    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.
     
    Thomas, Aug 18, 2005
    #1
    1. Advertising

  2. Thomas

    Chad Fowler Guest

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

    On 8/18/05, Thomas <> wrote:
    > 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!)
     
    Chad Fowler, Aug 18, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tomás

    Gems -- #include <gems.hpp>

    Tomás, Mar 4, 2006, in forum: C++
    Replies:
    7
    Views:
    447
    Tomás
    Mar 5, 2006
  2. Daniel Berger
    Replies:
    1
    Views:
    155
    Dave Thomas
    Nov 2, 2004
  3. Austin 7873
    Replies:
    5
    Views:
    216
    Eric Hodel
    Jan 27, 2007
  4. braver
    Replies:
    4
    Views:
    140
  5. Greg Hauptmann
    Replies:
    2
    Views:
    160
    Greg Hauptmann
    Nov 8, 2008
Loading...

Share This Page