X-Git-Url: http://nitlanguage.org diff --git a/src/doc/templates/html_model.nit b/src/doc/templates/html_model.nit index 6ec000f..90cd190 100644 --- a/src/doc/templates/html_model.nit +++ b/src/doc/templates/html_model.nit @@ -251,10 +251,6 @@ end redef class MMethodDef redef fun html_signature(short) do - var new_msignature = self.new_msignature - if mproperty.is_root_init and new_msignature != null then - return new_msignature.html_signature(short) - end var msignature = self.msignature if msignature == null then return new Template return msignature.html_signature(short) @@ -400,7 +396,7 @@ redef class MDoc var html_synopsis: Writable is lazy do var res = new Template var syn = inline_proc.process(content.first) - res.add "{syn}" + res.add "{syn}" return res end @@ -420,13 +416,13 @@ redef class MDoc var decorator = markdown_proc.decorator.as(NitdocDecorator) decorator.current_mdoc = self res.add "