1 import sys, glob, os.path, datetime
2 sys.path.append('senfscons')
6 ###########################################################################
11 for dox in sorted(glob.glob("*/Mainpage.dox")):
12 title = ([None] + [ line.split('\\mainpage',1)[-1].strip() for line in file(dox)
13 if '\\mainpage' in line ])[-1]
15 HOWTOS.append( (dox.split('/',1)[0], title) )
18 /** \mainpage Examples
23 {{ for name, title in HOWTOS:
24 <dt><a href="../../${name}/doc/html/index.html">${name}</a></dt><dd>${title}</a></dd>
32 file("Mainpage.dox","w").write(yaptu.process(MAINPAGE, globals(), env.Dictionary()))
34 SConscript(glob.glob("*/SConscript"))
36 env.Clean('all','Mainpage.dox')
37 env.Clean('all_docs','Mainpage.dox')
39 SENFSCons.Doxygen(env)