diff --git a/mathics_django/doc/django_doc.py b/mathics_django/doc/django_doc.py index 0fce7ddc2..a8f331307 100644 --- a/mathics_django/doc/django_doc.py +++ b/mathics_django/doc/django_doc.py @@ -180,7 +180,7 @@ def get_tests(self): return tests def html(self): - items = [item for item in self.items if not item.is_private()] + items = [item for item in self.items] title_line = self.title + "\n" if len(items) and items[0].text.startswith(title_line): # In module-style docstring tagging, the first line of the docstring is the section title. @@ -188,7 +188,7 @@ def html(self): # Or that is the intent. This code is a bit hacky. items[0].text = items[0].text[len(title_line) :] - text = "\n".join(item.html() for item in items if not item.is_private()) + text = "\n".join(item.html() for item in items) if text == "": # HACK ALERT if text is "" we may have missed some test markup. return mark_safe(escape_html(self.rawdoc))