source: trunk/Cosy/macros/dohtml.C@ 18481

Last change on this file since 18481 was 8837, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 2.2 KB
Line 
1/* ======================================================================== *\
2!
3! *
4! * This file is part of MARS, the MAGIC Analysis and Reconstruction
5! * Software. It is distributed to you in the hope that it can be a useful
6! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
7! * It is distributed WITHOUT ANY WARRANTY.
8! *
9! * Permission to use, copy, modify and distribute this software and its
10! * documentation for any purpose is hereby granted without fee,
11! * provided that the above copyright notice appear in all copies and
12! * that both that copyright notice and this permission notice appear
13! * in supporting documentation. It is provided "as is" without express
14! * or implied warranty.
15! *
16!
17!
18! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
19!
20! Copyright: MAGIC Software Development, 2000-2008
21!
22!
23\* ======================================================================== */
24
25///////////////////////////////////////////////////////////////////////////
26//
27// dohtml.C
28// ========
29//
30// This is a service macro used to create the html-documentation from
31// source code (THtml)
32//
33// Add here all directories in which files are stored from which the
34// documentation should be created an add all macros which should be
35// converted to HTML.
36//
37///////////////////////////////////////////////////////////////////////////
38
39void dohtml()
40{
41 //
42 // don't forget that the shared object must have been loaded
43 //
44
45 //
46 // Do not print 'Info' messages from the root system such like
47 // TCanvas::Print
48 //
49 gErrorIgnoreLevel=kWarning;
50
51 //
52 // create the html document class
53 //
54 THtml html;
55
56 TString sourcedir;
57 sourcedir += "base:";
58 sourcedir += "candrv:";
59 sourcedir += "caos:";
60 sourcedir += "catalog:";
61 sourcedir += "devdrv:";
62 sourcedir += "gui:";
63 sourcedir += "main:";
64// sourcedir += "mvideo:";
65 sourcedir += "tcpip:";
66 sourcedir += "tpoint:";
67 sourcedir += "videodev:";
68 sourcedir += ".:";
69
70 html.SetSourceDir(sourcedir);
71 html.SetOutputDir("htmldoc");
72
73 html.MakeAll(kTRUE);
74
75 html.SetSourceDir("macros");
76// html.Convert("merpp.C", "MARS - Merging and Preprocessing");
77}
Note: See TracBrowser for help on using the repository browser.