Skip to content

Add support for more docstrings styles #1139

Open
@Snipy7374

Description

@Snipy7374

Summary

Currently disnake is able to parse numpy style docstrings only.

What is the feature request for?

The core library

The Problem

Users in other IDEs (where the numpy style is not supported) that are using functions docstrings to describe an app command can't see their functions docstrings as they should be, obliging them to either renounce to describing app commands using docstrings or renounce to read docstrings using them for what they should be used (documentation)

The Ideal Solution

Implement a parser to parse the three main docstring styles present in python: reST style, Google style, numpy style (already implemented)

The Current Solution

Don't use functions docstrings to describe app commands and options.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions