Closed plorgai-ta closed 1 month ago
Thank you for reporting this problem.
Probably this is because VS Code doesn't understand the style of docstrings used by the project, namely https://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html
I want to stick to that style. I wish I could help but I don't see anything I can do. This looks more like a VS Code <> Napoleon problem than a websockets problem.
The docs for the
recv
function are not rendered correctly in VSCode. See the screenshot.I'm not familiar with how the doc strings are written, but it appears that VSCode thinks the
A
is a variable name of what is returned, and is wrapping the rest of the text underneath as a description. I think it is expecting a variable name followed by a colon, which is what we see in theRaises
section.It also doesn't render the
Text_
orBinary_
strings at all. These look like they are replaced by the links just below, but I'm not sure.