Closed oliver-joos closed 4 years ago
Thanks and sorry for the late reply.
Let me know if that fixed the problem.
Great! Thank you!
I confirm that style "sphinx" now works as expected in 0.15.1
Oh, I just found a case where indentation still gets wrong: If I disable "Show types" then :return: is always indented 0 spaces. (No problem for me because I work with "Show types" enabled)
docblock-python is really helpful, many thanks to spadarian!
I have a problem with indentation: if I choose style "sphinx" (and all checkboxes enabled) the lines with :return: are not indented at all, and :raises: are always indented 4 spaces, even if the doc comment starts more indented. The rest of the lines are ok.
Example: docblock-bug_sphinx-indent.txt
I tried to fix it by editing lib/templates.js, but did not succeed yet. Am I doing something wrong? Or is it a bug?
I use atom 1.40.1 and docblock 0.15.0.