tag:rubydoc.tenderapp.com,2010-12-26:/discussions/problems/143-wrong-github-urlsRubydoc.info: Discussion 2013-03-20T18:57:17Ztag:rubydoc.tenderapp.com,2010-12-26:Comment/220674632012-12-04T20:00:56Z2013-03-20T18:57:15ZWrong github URLs<div><p>Serms to work here. Still having the issue? </p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/220674632012-12-04T21:19:44Z2013-03-20T18:57:14ZWrong github URLs<div><p>Yeah I'm still seeing an issue. For example: when I go to this
page (<br>
<a href=
"http://rubydoc.info/github/colibri-software/locomotive_plugins/Locomotive/Plugin">
http://rubydoc.info/github/colibri-software/locomotive_plugins/Loco...</a>),<br>
scroll down to the "config" instance attribute, and click on "View
on<br>
Github", I get a 404 error.</p>
<p>It's trying to send me here:<br>
<a href=
"https://github.com/colibri-software/locomotive_plugins/blob/Locomotive/lib/locomotive/plugin.rb#L116">
https://github.com/colibri-software/locomotive_plugins/blob/Locomot...</a></p>
<p>And github gives me the 404 page when it tries to go there. I
assume it<br>
should be going here instead:<br>
<a href=
"https://github.com/colibri-software/locomotive_plugins/blob/master/lib/locomotive/plugin.rb#L116">
https://github.com/colibri-software/locomotive_plugins/blob/master/...</a></p>
<p>Thanks!<br>
Alex</p></div>Alex Sanfordtag:rubydoc.tenderapp.com,2010-12-26:Comment/220674632012-12-05T17:18:39Z2013-03-20T18:57:14ZWrong github URLs<div><p>Yeah I'm still seeing an issue. For example: when I go to this
page (<a href=
"http://rubydoc.info/github/colibri-software/locomotive_plugins/Locomotive/Plugin">http://rubydoc.info/github/colibri-software/locomotive_plugins/Loco...</a>),
scroll down to the "config" instance attribute, and click on "View
on Github", I get a 404 error.</p>
<p>It's trying to send me here: <a href=
"https://github.com/colibri-software/locomotive_plugins/blob/Locomotive/lib/locomotive/plugin.rb#L116">
https://github.com/colibri-software/locomotive_plugins/blob/Locomot...</a></p>
<p>And github gives me the 404 page when it tries to go there. I
assume it should be going here instead: <a href=
"https://github.com/colibri-software/locomotive_plugins/blob/master/lib/locomotive/plugin.rb#L116">
https://github.com/colibri-software/locomotive_plugins/blob/master/...</a></p>
<p>Thanks!</p></div>alextag:rubydoc.tenderapp.com,2010-12-26:Comment/220674632013-01-16T19:51:04Z2013-03-20T18:57:14ZWrong github URLs<div><p>This is a known issue when you don't include the /master suffix
as part of the initial URL for Github links. This is on the TODO
list to be fixed, but the easy workaround is to just link to your
specific branch directly: <a href=
"http://rubydoc.info/github/colibri-software/locomotive_plugins/master">
http://rubydoc.info/github/colibri-software/locomotive_plugins/master</a>
--- rubydoc.info links should already do this automatically.</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/220674632013-02-19T19:12:16Z2013-03-20T18:57:13ZWrong github URLs<div><p>As a user, I'm seeing this also in the <a href=
"http://rubydoc.info/github/brynary/webrat/Webrat">webrat
documentation</a>. An example is on the page for <a href=
"http://rubydoc.info/github/brynary/webrat/Webrat/SaveAndOpenPage:open_in_browser">
SaveAndOpenPage::open_in_browser</a>.</p>
<p>The <code>View on Github</code> link is incorrect:</p>
<p><a href=
"https://github.com/brynary/webrat/blob/Webrat/lib/webrat/core/save_and_open_page.rb#L20">
https://github.com/brynary/webrat/blob/Webrat/lib/webrat/core/save_...</a></p>
<p>Here is the correct and currently working link:</p>
<p><a href=
"https://github.com/brynary/webrat/blob/master/lib/webrat/core/save_and_open_page.rb#L20">
https://github.com/brynary/webrat/blob/master/lib/webrat/core/save_...</a></p></div>James Cuzella