disnake icon indicating copy to clipboard operation
disnake copied to clipboard

Add support for more docstrings styles

Open Snipy7374 opened this issue 2 years ago • 0 comments

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

Snipy7374 avatar Dec 12 '23 00:12 Snipy7374