Created
February 17, 2015 02:57
-
-
Save hayderimran7/179e0ca33d7c93429ba7 to your computer and use it in GitHub Desktop.
Sphinx builder how to fix 'WARNING: Definition list ends without a blank line; unexpected unindent.'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
recently i came up with this warning which was failing my job . | |
The reason this warning happens is that for a multi-line comment/description, you should give '\' after each line except the last line. | |
so lets i have a doc comment like this: | |
'this is a test | |
comment which describes | |
something about this module.' | |
Above docstring will obviously in sphinx build job, so correct way is : | |
'this is a test \ | |
comment which describes \ | |
something about this module.' | |
Also if you are working with openstack related projects, be known the line limit is 79 characters. | |
Cheers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice. That helped. Thanks!