Extract attributes docstrings defined in various ways
