- return mpropdefs
- end
-
- private fun tpl_inheritance_item(mpropdef: MPropDef): ListItem do
- var lnk = new Template
- lnk.add new TplLabel.with_classes(css_classes)
- lnk.add mpropdef.mclassdef.mmodule.html_namespace
- lnk.add "::"
- var atext = mpropdef.mclassdef.html_link.text
- var ahref = "{mpropdef.mclassdef.mclass.nitdoc_url}#{mpropdef.mproperty.nitdoc_id}"
- var atitle = mpropdef.mclassdef.html_link.title
- var anchor = new Link.with_title(ahref, atext, atitle)
- lnk.add anchor
- var comment = mpropdef.html_short_comment
- if comment != null then
- lnk.add ": "
- lnk.add comment
- end
- var li = new ListItem(lnk)
- li.css_classes.add "signature"
- return li
- end
-end
-
-redef class IntrosRedefsListArticle
- redef fun render(v, doc, page, parent) do
- if mentities.is_empty then return
- var article = new TplArticle.with_title(list_title.to_lower, list_title)
- article.content = write_to_string
- parent.add_child article
- end
-end
-
-# FIXME compatibility with doc_templates.
-redef class ImportationListSection
- redef fun render(v, doc, page, parent) do
- var section = new TplSection.with_title("dependencies", "Dependencies")
- for child in children do
- child.render(v, doc, page, section)