generate docs from docstrings

Also a missing newline here.