1 //
2 // Copyright (c) 2007, Brian Frank and Andy Frank
3 // Licensed under the Academic Free License version 3.0
4 //
5 // History:
6 // 5 May 07 Brian Frank Creation
7 //
8
9 using compiler
10
11 **
12 ** TopIndexToHtml generates the top level navigation and search index.
13 **
14 class TopIndexToHtml : DocCompilerSupport
15 {
16
17 new make(DocCompiler compiler)
18 : super(compiler)
19 {
20 }
21
22 Void run()
23 {
24 log.debug(" TopIndexToHtml")
25 file := compiler.outDir + "index.html".toUri
26 loc := Location.make("index.html")
27 TopIndexGenerator.make(compiler, loc, file.out).generate
28 }
29
30 }