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

librustdoc: Use correct heading levels. #89506

Merged
merged 8 commits into from
Oct 6, 2021

Commits on Oct 4, 2021

  1. librustdoc: Use correct heading levels.

    - Avoid multiple <h1>s on a page.
    - The <h#> tags should follow a semantic hierarchy.
    - Cap at h6 (no h7)
    Mukund Lakshman committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    a8a40ea View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. Fix heading for methods on trait impls.

    Mukund Lakshman committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    4a6aa6e View commit details
    Browse the repository at this point in the history
  2. Change Markdown(...) to Markdown { ... }

    Mukund Lakshman committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    6518a0a View commit details
    Browse the repository at this point in the history
  3. No need to default offset since we always override it.

    Mukund Lakshman committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    13558ee View commit details
    Browse the repository at this point in the history
  4. heading_level: u32 -> heading_offset: HeadingOffset

    Mukund Lakshman committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    f1425c7 View commit details
    Browse the repository at this point in the history
  5. Add tests for ensuring docblock headings.

    Mukund Lakshman committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    08a4f24 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. Restore h1 styles, which got accidentally removed.

    Mukund Lakshman committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    742d8be View commit details
    Browse the repository at this point in the history
  2. Revert the rustc_error_codes changes.

    Mukund Lakshman committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    1f86a8e View commit details
    Browse the repository at this point in the history