doc: List the inner classes in the search bar.
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Mon, 1 Dec 2014 19:18:53 +0000 (14:18 -0500)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Tue, 2 Dec 2014 15:20:02 +0000 (10:20 -0500)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

src/doc/doc_pages.nit

index 4b81d86..1780167 100644 (file)
@@ -1351,6 +1351,7 @@ class NitdocClass
                map["type"] = new HashSet[MProperty]
                map["init"] = new HashSet[MProperty]
                map["fun"] = new HashSet[MProperty]
+               map["inner"] = new HashSet[MProperty]
                for mprop in mprops do
                        if mprop isa MVirtualTypeProp then
                                map["type"].add mprop
@@ -1360,6 +1361,8 @@ class NitdocClass
                                else
                                        map["fun"].add mprop
                                end
+                       else if mprop isa MInnerClass then
+                               map["inner"].add mprop
                        end
                end
                return map