Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upHTML generation / carriage return lost for multi-lines docstring #179
Comments
This comment has been minimized.
This comment has been minimized.
|
Duplicate of #153. |
This comment has been minimized.
This comment has been minimized.
armant
commented
Oct 11, 2018
|
Please also note "Equally, I feel we should clearly not include support for reStructuredText, which is way too large and complicated." in #153. |
This comment has been minimized.
This comment has been minimized.
KyleKing
commented
Feb 22, 2019
•
|
What is the default Markdown style supported by pdoc? Something like the below is garbled into one line. Adding two trailing spaces to each line works to force the line breaks, but requiring two spaces is unmaintainable and would conflict with def chooseBest(self, img, circles, manuallyAlign=True):
"""Return the circle with the best fit based on a multi-step procedure.
img -- Numpy array
circles -- List of tuples (x, y, r)
manuallyAlign -- If True, implement the manual alignment step. Otherwise return best programmatic match
"""
return |
This comment has been minimized.
This comment has been minimized.
armant
commented
Feb 22, 2019
•
Personally, I hacked around this in css.mako: |
This comment has been minimized.
This comment has been minimized.
KyleKing
commented
Feb 22, 2019
|
Haha, I was trying to do the same since that's the easiest fix, but on my computer |
This comment has been minimized.
This comment has been minimized.
armant
commented
Feb 22, 2019
•
|
That's weird, |
This comment has been minimized.
This comment has been minimized.
KyleKing
commented
Feb 22, 2019
•
|
Hmm, that doesn't work for me. Maybe it's a Windows issue? I don't want to hijack this issue, so I'll post any follow up to #178 Update: just a filename issue, see: #178 (comment) |

shazz commentedOct 11, 2018
Hi,
I'm uisng the PEP 287 -- reStructuredText Docstring Format for my documentation like:
and when generating the HTML pdoc, all the lines are merged in one long line instead of n lines (unless I had '\n' at the end of each line but...)
Thanks !