diff --git a/pydoctor/templatewriter/summary.py b/pydoctor/templatewriter/summary.py index 64f1deadc..c0ebec786 100644 --- a/pydoctor/templatewriter/summary.py +++ b/pydoctor/templatewriter/summary.py @@ -485,7 +485,7 @@ def helpcontent(self, request: object, tag: Tag) -> Tag: parsed = restructuredtext.parse_docstring(dedent(self.RST_SOURCE_TEMPLATE.substitute( kind_names=', '.join(f'"{k.name}"' for k in model.DocumentableKind) )), errs) - print ([e.descr() for e in errs]) + assert not errs return parsed.to_stan(NotFoundLinker()) def summaryPages(system: model.System) -> Iterable[Type[Page]]: