nitdoc: remove useless class ImportationListSection
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 28 May 2015 15:35:26 +0000 (11:35 -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 d9e7aab..fa9de2d 100644 (file)
@@ -41,7 +41,7 @@ end
 redef class MModulePage
        redef fun build_inh_list(v, doc) do
                var id = mentity.nitdoc_id
-               var section = new ImportationListSection("{id}.importation", mentity)
+               var section = new TabbedGroup("{id}.importation", "Dependencies")
                var group = new PanelGroup("list.group", "List")
                var imports = self.imports.to_a
                v.name_sorter.sort(imports)
@@ -77,9 +77,3 @@ redef class MClassPage
                root.children.first.children.insert(section, 1)
        end
 end
-
-# FIXME diff hack
-class ImportationListSection
-       super TabbedGroup
-       super MEntityComposite
-end
index 3502bfc..bc8efbe 100644 (file)
@@ -436,10 +436,6 @@ redef class ConcernSection
        redef var html_title is lazy do return "in {mentity.nitdoc_name}"
 end
 
-redef class ImportationListSection
-       redef var html_title is lazy do return "Dependencies"
-end
-
 redef class IntroArticle
        redef var html_title = null