Documentation Not Finding Github Pages
I'm trying to find documentations for shoulda-matchers, but it
looks like rubydoc is looking for the wrong files. Comparing it to
the actual repositories, it looks like it's trying to find the
lib
directory inside of a master
directory, though lib
is at the root level.
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 07 May, 2015 04:40 PM
Can you provide a link to the page you are accessing?
2 Posted by Yaniv Savir on 07 May, 2015 05:22 PM
Here's the link:
http://www.rubydoc.info/github/thoughtbot/shoulda-matchers/master/lib/shoulda/matchers/active_record/association_matcher.rb
I see now that when you visit the github repo for Shoulda-Matchers, it has
its own documentation. However, the shoulda repository
<https://github.com/thoughtbot/shoulda> links to rubydocs as the official
documentation, which is where the error exists.
3 Posted by Yaniv Savir on 07 May, 2015 05:24 PM
I'm also realizing now that you're part of rubydocs, not thoughbot....
which should have been obvious. This is probably a problem on their end...
So I'll let them know. Sorry for bothering you by accident!
Support Staff 4 Posted by lsegal on 08 May, 2015 12:42 AM
This is likely a problem on their end. Rubydoc doesn't host Ruby files, but the errant link is likely the product of relative links that aren't properly pointing to GitHub.
Where is this link coming from?