Skip to content

Attribute corresponding to @hideFromAPIDocumentation #989

@Leviosar

Description

@Leviosar

Scribe version

5.2.1

Your question

For those using docblocks is possible to annotate a method that should not be included on the docs using @hideFromAPIDocumentation, but it seems there's no corresponding Attribute (e.g. #[HideFromAPIDocumentation()] that does the same.

Is this intended?

I peeked a bit into the code and the feature is implemented on GroupedEndpointsFromApp which just checks if there's any docblocks matching hidefromapidocumentation. Is it difficult to check for an Attribute there? I'm asking this because it seems that the attributes and docblocks aren't properly loaded yet at this step of the execution.

I could help to implement this, just need some time to understand a bit more of the project, let me know if the help is wanted.

Docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedContributions from the community are encouraged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions