Skip to content

rustdoc book: html_playground_url is underdocumented #141414

Closed
@lolbinarycat

Description

@lolbinarycat

Location

https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#html_playground_url

Summary

looking at the CodeBlocks::next impl in src/librustdoc/html/markdown.rs, we also pass version=nightly sometimes (when there are feature flags), but the rustdoc book says we only pass code and edition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions