Documentation Not Finding Github Pages

's Avatar

saviry

07 May, 2015 04:28 PM

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.

  1. Support Staff 1 Posted by lsegal on 07 May, 2015 04:40 PM

    lsegal's Avatar

    Can you provide a link to the page you are accessing?

  2. 2 Posted by Yaniv Savir on 07 May, 2015 05:22 PM

    Yaniv Savir's Avatar

    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. 3 Posted by Yaniv Savir on 07 May, 2015 05:24 PM

    Yaniv Savir's Avatar

    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!

  4. Support Staff 4 Posted by lsegal on 08 May, 2015 12:42 AM

    lsegal's Avatar

    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?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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