tag:rubydoc.tenderapp.com,2010-12-26:/discussions/questions/2-link-to-newest-version-of-gem-docsRubydoc.info: Discussion 2011-04-20T23:28:58Ztag:rubydoc.tenderapp.com,2010-12-26:Comment/48845722011-01-22T19:12:44Z2011-01-22T19:12:46ZLink to newest version of gem docs?<div><p>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.</p>
<p>Example: I would like to have the "Documentation" link on the
<a href="https://rubygems.org/gems/to_api">to_api gem</a> always
send the user to the newest version of to_api's docs here on
rubydoc.info. I tried using the format <a href=
"http://rubydoc.info/gems/to_api/frames">http://rubydoc.info/gems/to_api/frames</a>,
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.</p>
<p>Thanks for your help and this great service you've built.</p></div>Matt Fletchertag:rubydoc.tenderapp.com,2010-12-26:Comment/48845722011-01-22T19:18:52Z2011-01-22T19:18:52ZLink to newest version of gem docs?<div><p>That link <em>should</em> work, but it looks like there's a
caching issue with /frames.</p>
<p><a href=
"http://rubydoc.info/gems/to_api">http://rubydoc.info/gems/to_api</a>
will work. We'll look at the caching issue and try to get that
fixed.</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/48845722011-01-22T19:23:56Z2011-01-22T19:23:57ZLink to newest version of gem docs?<div><p>Ok. Great.</p>
<p>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.</p>
<p>Again, thanks for your hard work!</p></div>Matt Fletchertag:rubydoc.tenderapp.com,2010-12-26:Comment/48845722011-03-12T16:44:01Z2011-03-12T16:44:01ZLink to newest version of gem docs?<div><p>I'm seeing the same problem with chunky_png.<br>
The latest version is 1.0.1, but <a href=
"http://rdoc.info/gems/chunky_png/frames">http://rdoc.info/gems/chunky_png/frames</a>
still shows the docs for the 0.12.0 version.</p></div>jstemmertag:rubydoc.tenderapp.com,2010-12-26:Comment/48845722011-04-20T23:28:56Z2011-04-20T23:28:56ZLink to newest version of gem docs?<div><p>FWIW we've fixed caching of /frames on gem updates. Let us know
if you still have issues.</p></div>lsegal