From b363c34318830e9191c4678a509e403d96ab61fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Christophe=20Beaupr=C3=A9?= Date: Thu, 11 Dec 2014 11:56:21 -0500 Subject: [PATCH] nitdoc: Add a property group for attributes. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean-Christophe Beaupré --- src/doc/doc_pages.nit | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/doc/doc_pages.nit b/src/doc/doc_pages.nit index aeb7cb1..8d1e749 100644 --- a/src/doc/doc_pages.nit +++ b/src/doc/doc_pages.nit @@ -1408,6 +1408,9 @@ private class PropertiesByKind # The constructors. var constructors = new PropertyGroup[MMethod]("Contructors") + # The attributes. + var attributes = new PropertyGroup[MAttribute]("Attributes") + # The methods. var methods = new PropertyGroup[MMethod]("Methods") @@ -1420,6 +1423,7 @@ private class PropertiesByKind var groups: SequenceRead[PropertyGroup[MProperty]] = [ virtual_types, constructors, + attributes, methods, inner_classes: PropertyGroup[MProperty]] @@ -1436,6 +1440,8 @@ private class PropertiesByKind end else if property isa MVirtualTypeProp then virtual_types.add property + else if property isa MAttribute then + attributes.add property else if property isa MInnerClass then inner_classes.add property else -- 1.7.9.5