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

Simplify doc-cfg rendering based on the current context #77672

Merged
merged 3 commits into from
Oct 16, 2020

Commits on Oct 7, 2020

  1. Simplify doc-cfg rendering based on the current context

    For sub-items on a page don't show cfg that has already been rendered on
    a parent item. At its simplest this means not showing anything that is
    shown in the portability message at the top of the page, but also for
    things like fields of an enum variant if that variant itself is
    cfg-gated then don't repeat those cfg on each field of the variant.
    
    This does not touch trait implementation rendering, as that is more
    complex and there are existing issues around how it deals with doc-cfg
    that need to be fixed first.
    Nemo157 committed Oct 7, 2020
    Configuration menu
    Copy the full SHA
    6f0544a View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. Configuration menu
    Copy the full SHA
    4e263fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4409cb2 View commit details
    Browse the repository at this point in the history