ni_nitdoc: Content to Full-Index page
authorStefan Lage <lagestfan@gmail.com>
Thu, 27 Jun 2013 22:45:17 +0000 (18:45 -0400)
committerStefan Lage <lagestfan@gmail.com>
Wed, 3 Jul 2013 20:54:22 +0000 (16:54 -0400)
Adding a function to insert the content of the ful-index page

Signed-off-by: Stefan Lage <lagestfan@gmail.com>

src/ni_nitdoc.nit

index 48e0f14..2637eba 100644 (file)
@@ -298,6 +298,20 @@ class NitdocFullindex
                close("header")
        end
 
+       redef fun body do
+               super
+               open("div").add_class("page")
+               open("div").add_class("content fullpage")
+               add("h1").text("Full Index")
+               add_content
+               close("div")
+               close("div")
+               add("footer").text("Nit standard library. Version jenkins-component=stdlib-19.")
+       end
+
+       fun add_content do
+       end
+
 end
 
 class NitdocPage