我想知道,在使用Sphinx生成自动文档时,如何才能有一个新的行。我没有使用默认的Sphinx docstring格式structuredtext,而是使用Numpydoc格式。我试过使用“\n”但它会换行,我只需要一个新的行。下面是一个Python模块的示例。。。
""" This is the first sentences
| this is the second sentence at line 2 ... note that vertical bar
| this is the second sentence at line 3 ... note that vertical bar
......
def function1 (input):
""" this function docstring starts here
| this is not sentence number 2 at the vertical bar is not working
| this is not sentence number 3 at the vertical bar is not working
| this is not sentence number 4 at the vertical bar is not working
"""