Link to newest version of gem docs?

Matt Fletcher's Avatar

Matt Fletcher

22 Jan, 2011 07:12 PM

I'm wondering if there is a URL format I can depend on that will always bring me to the newest version of a Rubygem's docs.

Example: I would like to have the "Documentation" link on the to_api gem always send the user to the newest version of to_api's docs here on rubydoc.info. I tried using the format http://rubydoc.info/gems/to_api/frames, but that's taking me back to the version 1.0.5, even though the latest version of to_api is 1.1.2. The reason I'd like to know of a URL format like this is so that I need to update links on rubygems, README files, or wherever when a new version comes out.

Thanks for your help and this great service you've built.

  1. Support Staff 1 Posted by lsegal on 22 Jan, 2011 07:18 PM

    lsegal's Avatar

    That link should work, but it looks like there's a caching issue with /frames.

    http://rubydoc.info/gems/to_api will work. We'll look at the caching issue and try to get that fixed.

  2. 2 Posted by Matt Fletcher on 22 Jan, 2011 07:23 PM

    Matt Fletcher's Avatar

    Ok. Great.

    I find the frames version to be much prettier :) I'll just leave the link as-is and wait for the caching problem to be resolved.

    Again, thanks for your hard work!

  3. 3 Posted by jstemmer on 12 Mar, 2011 04:44 PM

    jstemmer's Avatar

    I'm seeing the same problem with chunky_png.
    The latest version is 1.0.1, but http://rdoc.info/gems/chunky_png/frames still shows the docs for the 0.12.0 version.

  4. Support Staff 4 Posted by lsegal on 20 Apr, 2011 11:28 PM

    lsegal's Avatar

    FWIW we've fixed caching of /frames on gem updates. Let us know if you still have issues.

  5. lsegal closed this discussion on 20 Apr, 2011 11:28 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac