pycco-docs / pycco

Literate-style documentation generator.

Home Page:https://pycco-docs.github.io/pycco/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docstring that ends with""" rather than \n""" completely breaks rendering

Pet3ris opened this issue · comments

Hi There,

Thanks for this awesome tool. Running into an issue where these docstrings break rendering:

def add(x, y):
  """This should be a simple docstring
  However, it turns everything following it into a comment."""
  return x + y

Only this works:

def add(x, y):
  """This should be a simple docstring
  However, it turns everything following it into a comment.
  """
  return x + y

Given this particular formatting is not picked up on by pylint, I assume it is valid and this is a bug.