{"action":"opened","issue":{"url":"https://api.github.com/repos/NiklasRosenstein/pydoc-markdown/issues/53","repository_url":"https://api.github.com/repos/NiklasRosenstein/pydoc-markdown","labels_url":"https://api.github.com/repos/NiklasRosenstein/pydoc-markdown/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/NiklasRosenstein/pydoc-markdown/issues/53/comments","events_url":"https://api.github.com/repos/NiklasRosenstein/pydoc-markdown/issues/53/events","html_url":"https://github.com/NiklasRosenstein/pydoc-markdown/issues/53","id":331651554,"node_id":"MDU6SXNzdWUzMzE2NTE1NTQ=","number":53,"title":"Support for attribute docstrings","user":{"login":"trojkat","id":97532,"node_id":"MDQ6VXNlcjk3NTMy","avatar_url":"https://avatars1.githubusercontent.com/u/97532?v=4","gravatar_id":"","url":"https://api.github.com/users/trojkat","html_url":"https://github.com/trojkat","followers_url":"https://api.github.com/users/trojkat/followers","following_url":"https://api.github.com/users/trojkat/following{/other_user}","gists_url":"https://api.github.com/users/trojkat/gists{/gist_id}","starred_url":"https://api.github.com/users/trojkat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trojkat/subscriptions","organizations_url":"https://api.github.com/users/trojkat/orgs","repos_url":"https://api.github.com/users/trojkat/repos","events_url":"https://api.github.com/users/trojkat/events{/privacy}","received_events_url":"https://api.github.com/users/trojkat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-12T15:57:24Z","updated_at":"2018-06-12T15:57:24Z","closed_at":null,"author_association":"NONE","body":"According to PEP 257 you can add string literals immediately after a simple assignment at the top level of a module, class, or init.\r\n\r\n```\r\nclass Foo(object):\r\n  velocity = 1\r\n  \"\"\"Foo's initial velocity - class variable\"\"\"\r\n```\r\n\r\nCurrent output (which also breaks the indentation of the next item):\r\n```\r\n<h3 id=\"Foo.velocity\">velocity</h3>\r\n\r\nint(x=0) -> integer\r\nint(x, base=10) -> integer\r\n\r\nConvert a number or string to an integer, or return 0 if no arguments\r\nare given.  If x is a number, return x.__int__().  For floating point\r\nnumbers, this truncates towards zero.\r\n\r\nIf x is not a number or if base is given, then x must be a string,\r\nbytes, or bytearray instance representing an integer literal in the\r\ngiven base.  The literal can be preceded by '+' or '-' and be surrounded\r\nby whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.\r\nBase 0 means to interpret the base from the string as an integer literal.\r\n>>> int('0b100', base=0)\r\n4\r\n```\r\nExpected output:\r\n\r\n    <h3 id=\"Foo.velocity\">velocity</h3>\r\n    \r\n    ```python\r\n    velocity = 1\r\n    ```\r\n    \r\n    Foo's initial velocity - class variable"}}
{"actor":{"display_login":"trojkat"}}