Wrong github URLs
Hey all,
I'm wondering if I'm doing something wrong. I've created some documentation from a github project, but the "View on Github" links are going to the wrong URL and giving a 404. Is there some sort of configuration I'm missing?
This is the peoject I'm talking about: http://rubydoc.info/github/colibri-software/locomotive_plugins
Alex
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
Support Staff 1 Posted by lsegal on 04 Dec, 2012 08:00 PM
Serms to work here. Still having the issue?
2 Posted by Alex Sanford on 04 Dec, 2012 09:19 PM
Yeah I'm still seeing an issue. For example: when I go to this page (
http://rubydoc.info/github/colibri-software/locomotive_plugins/Locomotive/Plugin),
scroll down to the "config" instance attribute, and click on "View on
Github", I get a 404 error.
It's trying to send me here:
https://github.com/colibri-software/locomotive_plugins/blob/Locomotive/lib/locomotive/plugin.rb#L116
And github gives me the 404 page when it tries to go there. I assume it
should be going here instead:
https://github.com/colibri-software/locomotive_plugins/blob/master/lib/locomotive/plugin.rb#L116
Thanks!
Alex
3 Posted by alex on 05 Dec, 2012 05:18 PM
Yeah I'm still seeing an issue. For example: when I go to this page (http://rubydoc.info/github/colibri-software/locomotive_plugins/Loco...), scroll down to the "config" instance attribute, and click on "View on Github", I get a 404 error.
It's trying to send me here: https://github.com/colibri-software/locomotive_plugins/blob/Locomot...
And github gives me the 404 page when it tries to go there. I assume it should be going here instead: https://github.com/colibri-software/locomotive_plugins/blob/master/...
Thanks!
Support Staff 4 Posted by lsegal on 16 Jan, 2013 07:51 PM
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: http://rubydoc.info/github/colibri-software/locomotive_plugins/master --- rubydoc.info links should already do this automatically.
5 Posted by James Cuzella on 19 Feb, 2013 07:12 PM
As a user, I'm seeing this also in the webrat documentation. An example is on the page for SaveAndOpenPage::open_in_browser.
The
View on Github
link is incorrect:https://github.com/brynary/webrat/blob/Webrat/lib/webrat/core/save_...
Here is the correct and currently working link:
https://github.com/brynary/webrat/blob/master/lib/webrat/core/save_...