I'm trying to generate documentation using pdoc, where my docstrings look like this:
"""
I am a description of what a method does
:param param1: an integer
:param param2: a str
"""
I found this question: How to preserve line breaks when generating python docs using sphinx but the suggestion of prefixing each line with | did not work for me (it just showed up like this)
| :param param1: an integer | :param param2: a str
any ideas short of using \n at the end of every line?