nitdoc: remove useless class InheritanceListSection
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 28 May 2015 15:22:48 +0000 (11:22 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 29 May 2015 23:05:56 +0000 (19:05 -0400)
This class was used to customize the generation of this particular section and limit the diff with the original nitdoc output.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/doc/doc_phases/doc_hierarchies.nit
src/doc/html_templates/html_templates.nit

index 61a9b08..d9e7aab 100644 (file)
@@ -58,7 +58,7 @@ end
 redef class MClassPage
        redef fun build_inh_list(v, doc) do
                var id = mentity.nitdoc_id
-               var section = new InheritanceListSection("{id}.inheritance", mentity)
+               var section = new TabbedGroup("{id}.inheritance", "Inheritance")
                var group = new PanelGroup("list.group", "List")
                var parents = self.parents.to_a
                v.name_sorter.sort(parents)
@@ -83,9 +83,3 @@ class ImportationListSection
        super TabbedGroup
        super MEntityComposite
 end
-
-# FIXME diff hack
-class InheritanceListSection
-       super TabbedGroup
-       super MEntityComposite
-end
index 2415794..3502bfc 100644 (file)
@@ -440,10 +440,6 @@ redef class ImportationListSection
        redef var html_title is lazy do return "Dependencies"
 end
 
-redef class InheritanceListSection
-       redef var html_title is lazy do return "Inheritance"
-end
-
 redef class IntroArticle
        redef var html_title = null