Issues

Issue #1282 new

py:attribute

Anonymous created an issue

Hello, I want to document class variables via autodoc. For this task I use ":attribute name: some text" syntax, but the rendering is not really nice.

It renders as:

 <purple box start>Attribute name:<purple box end>Some text

and not like function parameters as:

 <purple box start>Parameters:<purple box end>name - Some text
    next_one - Some more text

The problem with the current rendering is that with longer attribute names the box takes the whole width. And that a group of attribute descriptions look ugly, so I would be happy if the rendering could be changed like for parameters.

Regards

Comments (2)

  1. Log in to comment