Skip to content

A type with :nodoc: can still be documented #16718

@ysbaddaden

Description

@ysbaddaden

As soon as the doc for any (re)definition of a type declares :nodoc: the type should never be documented, but as demonstrated in #16714 a type with multiple :nodoc: can end up being documented!

A comment on the thread_local macro call happened to become the doc comment for Thread, regardless of all the :nodoc: comments explicitly set to the type at different other places.

Maybe it happened to become the first doc comment for Thread, then it was reopened and their doc comments got skipped, hence skipping :nodoc:?

Originally posted by @ysbaddaden in #16714 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions