Skip to content

parameter_documentation: Add magic phrase to ignore missing return documentation #10517

@Daisy-Volant

Description

@Daisy-Volant

Current problem

I have an API wrapper function which I would like to link to the API's documentation for params and return, but there is only a way to do this with parameters currently with the "For the parameters, see" escape hatch.

Desired solution

I would like an extra escape hatch for return documentation, that preferably works together with the existing param comment, eg:

  • "For the return, see"
  • "For the parameters and return, see"

This escape hatch would avoid linting when there is missing :return: section, or in the combined form both.

Additional context

I googled around and checked the sources and couldn't find this implemented already, but if it is and I've just missed it feel free to close.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions