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

docs: Fix broken [pattern] link #73804

Closed
wants to merge 6 commits into from

Commits on Jun 27, 2020

  1. docs: Fix broken [pattern] link

    sethp committed Jun 27, 2020
    Configuration menu
    Copy the full SHA
    d5e7aee View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2020

  1. Use intra-doc-links in place of explicit paths

    These docs are available from two different paths:
    
    ```
    /std/string/struct.String.html
    /std/primitive.str.html
    ```
    
    Because they're at different levels, we can't construct a single relative path that works for both. However, we can ask the tooling to generate the correct relative path for each source with an `intra-doc-link`.
    sethp committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    fb26b0c View commit details
    Browse the repository at this point in the history
  2. Use more intra-doc-links

    See fb26b0c. This commit also removes the exclusion for the String docs page, but there's still a few broken links.
    sethp committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    c566015 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2020

  1. fix rustfmt

    sethp committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    d47807f View commit details
    Browse the repository at this point in the history
  2. Use intra-doc-links for char methods

    At least locally, this required the fix in librustdoc: else, I was seeing broken links pointing into the source of the module being documented rather than linking to the `std/primitive.char.html#method.FOO` page as was likely intended.
    sethp committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    e8b9bea View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. Revert all but [pattern] fixes

    sethp committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    6b6b8c9 View commit details
    Browse the repository at this point in the history