From: Alexandre Terrasa Date: Thu, 28 May 2015 15:04:35 +0000 (-0400) Subject: nitdoc: remove useless class ProjectsSection X-Git-Tag: v0.7.6~73^2~13 X-Git-Url: http://nitlanguage.org nitdoc: remove useless class ProjectsSection 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 --- diff --git a/src/doc/doc_phases/doc_structure.nit b/src/doc/doc_phases/doc_structure.nit index b5990d2..7f5b8bc 100644 --- a/src/doc/doc_phases/doc_structure.nit +++ b/src/doc/doc_phases/doc_structure.nit @@ -53,7 +53,7 @@ redef class OverviewPage var mprojects = doc.model.mprojects.to_a var sorter = new MConcernRankSorter sorter.sort mprojects - var section = new ProjectsSection("projects.section", "Projects") + var section = new DocSection("projects.section", "Projects") for mproject in mprojects do section.add_child new DefinitionArticle("{mproject.nitdoc_id}.definition", mproject) end @@ -388,11 +388,6 @@ class HomeArticle super DocArticle end -# The project list. -class ProjectsSection - super DocArticle -end - # An article that display an index of mmodules, mclasses and mproperties. class IndexArticle super DocArticle diff --git a/src/doc/html_templates/html_templates.nit b/src/doc/html_templates/html_templates.nit index 9fa52e5..e6dc436 100644 --- a/src/doc/html_templates/html_templates.nit +++ b/src/doc/html_templates/html_templates.nit @@ -423,10 +423,6 @@ redef class IndexArticle end end -redef class ProjectsSection - redef var html_title = "Projects" -end - redef class MEntityComposite redef var html_title is lazy do return mentity.nitdoc_name end