-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'View Source' links to Github not working on many repos #91
Comments
I have the same problem with my projects. |
GitHub links only work when the branch name is part of the URL. This is something we could fix by inferring |
Thanks for your advice, it works! However, this should be written in some FAQ… |
@lsegal Going from the search section of rubydoc.info into the docs for a particular repository actually end up on the page without the ref. |
Closing out this old issue due to inactivity. If this report is related to a production issue on rubydoc.info, it is very likely that the issue has since been resolved. If the issue is still persisting, feel free to comment or file an updated issue. |
I was looking at the documentation for capybara and ran into this issue. The links to view source on GitHub do not work. They use "Capybara" instead of the branch name "master" (replacing that in the redirected url fixes it).
@lsegal, How can one go about doing that through the web interface without having to manually type in the branch name? It seems that the interface already knows about the branch yet redirects without its name. See example screenshot with oval highlight: |
@heynan0 you're right, this is something that can be fixed if the layout template made the current active library version available to the rest of the JS scripts running on the page. It was something I was about to pick up a few weeks ago actually but it fell off my plate. The process would be roughly:
Overall not that difficult but haven't had a chance to sit down and solve this. |
Ok yes VERY easy indeed ^ |
This is live now btw. |
@lsegal it works fine now. Thank you very much for fixing it! :) |
Thank you! |
Hi,
I'm not sure if this is a known problem or perhaps someone elses problem, for a while I've noticed many view source on github urls to be broken. An example of a page that has broken links is this one:
http://www.rubydoc.info/github/carlhuda/bundler/Bundler/GemHelper
There are many more.
Is this the right place to report this? Is this a problem with Rubydoc.info, or are these docs out of date and should I file an issue with the creator of the github project?
The text was updated successfully, but these errors were encountered: