Skip to content
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

Links to document texts without "rdoc-ref:" prefix #800

Merged
merged 2 commits into from Mar 30, 2021

Commits on Mar 21, 2021

  1. Clarify that dots in URL are replaced

    The dots in all path components from the document root are
    replaced with underscores, not only in the basename.
    nobu committed Mar 21, 2021
    Copy the full SHA
    7a3417e View commit details
    Browse the repository at this point in the history
  2. Links to document texts without "rdoc-ref:" prefix

    While links to generated HTML from RDoc file needs to be prefixed
    by "rdoc-ref:" currently, in case of explicit references this
    seems just redundant.
    
    Also GitHub RDoc support does not work with this prefix.
    
    This patch lets links to such document texts (".rb", ".rdoc" and
    ".md" now) refer URLs generated by `RDoc::TopLevel#http_url`
    without the prefix.
    nobu committed Mar 21, 2021
    Copy the full SHA
    f18b27b View commit details
    Browse the repository at this point in the history