nitdoc: replace `section:` prefix id by `.section` suffix
[nit.git] / src / doc / doc_phases / doc_intros_redefs.nit
index eb3f0a6..ec6ad29 100644 (file)
@@ -54,7 +54,7 @@ redef class DefinitionArticle
 
        # TODO this should move to MEntity?
        private fun build_mmodule_list(v: IntroRedefListPhase, doc: DocModel, mmodule: MModule) do
-               var section = new IntrosRedefsSection("article:{mentity.nitdoc_id}.intros_redefs", mentity)
+               var section = new IntrosRedefsSection("{mentity.nitdoc_id}.intros_redefs", mentity)
                var group = new PanelGroup("group:list", "List")
                var intros = mmodule.intro_mclassdefs(v.ctx.min_visibility).to_a
                doc.mainmodule.linearize_mclassdefs(intros)
@@ -68,7 +68,7 @@ redef class DefinitionArticle
 
        # TODO this should move to MEntity?
        private fun build_mclassdef_list(v: IntroRedefListPhase, doc: DocModel, mclassdef: MClassDef) do
-               var section = new IntrosRedefsSection("article:{mentity.nitdoc_id}.intros_redefs", mentity)
+               var section = new IntrosRedefsSection("{mentity.nitdoc_id}.intros_redefs", mentity)
                var group = new PanelGroup("group:list", "List")
                var intros = mclassdef.collect_intro_mpropdefs(v.ctx.min_visibility).to_a
                # FIXME avoid diff changes