Re: Automatic documentation generation

Fons Rademakers ((no email))
Sun, 21 Sep 1997 02:17:44 +0200 (METDST)


Hi Pasha,

try these settings in your .rootrc file:

Root.Html.SearchEngine: http://root.cern.ch/root/Search.phtml
Root.Html.OutputDir: html
Root.Html.SourceDir: src:include:.
Root.Html.Author: Fons Rademakers
Root.Html.Root: http://root.cern.ch/root/html

change the SourceDir and Author directives to match your situation.
For me this macro works:

{
gSystem.Load("libatlfast.so");
THtml html;
//html.MakeAll(1);
html.MakeClass("ATLFast");
}

This works fine on HP-UX and Linux. If it does not work on your
system we've to investigate (of course your html directory is writable).

Cheers, Fons.

>
>
> Hi Rene,
>
> I'm sure this *should* work - you've generated quite a bit of documentation
> already... However ... (the example below shows that ROOT environment is
> configured according to ROOT documentation).
>
> Are you saying that this problem is not reproducible?
>
> Thanks, Pasha.
> --------------------------------------------------------------------------------
> /cdf/upgrade/tracking/murat/g3/test/linalg/Root>echo $ROOTSYS
> /cdf/upgrade/root/development
> /cdf/upgrade/tracking/murat/g3/test/linalg/Root>dir -l html
> total 3
> drwxr-sr-x 2 murat cdfupg 512 Sep 19 21:50 ./
> drwxr-sr-x 4 murat cdfupg 1024 Sep 19 21:50 ../
> /cdf/upgrade/tracking/murat/g3/test/linalg/Root>root
> No default font loaded
> *******************************************
> * *
> * W E L C O M E to R O O T *
> * *
> * Version 1.03/03 12 September 1997 *
> * Development version *
> * *
> * You are welcome to visit our Web site *
> * http://root.cern.ch *
> * *
> *******************************************
>
> CINT/ROOT C/C++ Interpreter version 5.13.24, Aug 24 1997
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> root [0] gEnv->Print()
> Unix.*.Root.MacroPath: : .:~/root_macros:$ROOTSYS/macros:$ROOTSYS/tutorials [User]
> *.Root.DynamicPath: : .:~/rootlibs:$ROOTSYS/lib [User]
> Root.Html.OutputDir: : /cdf/upgrade/tracking/murat/g3/test/linalg/Root/html [User]
> Root.Html.SourceDir: : .:$ROOTSYS/source [User]
> root [1] THtml html
> root [2] gHtml->MakeClass("TBRIK")
>
> *** Break *** segmentation violation
>
> *** Break *** keyboard interrupt
> Root > gSystem->Load("liblinalg.so")
> (int)0
> root [4] gHtml->MakeClass("TMatrix")
> Error in <THtml::Make>: Can't open file ': /cdf/upgrade/tracking/murat/g3/test/linalg/Root/html/TMatrix.html' !
> : /cdf/upgrade/tracking/murat/g3/test/linalg/Root/html/TMatrix_Tree.ps
> PostScript file: : /cdf/upgrade/tracking/murat/g3/test/linalg/Root/html/TMatrix_Tree.ps has been created
>
> *** Break *** bus error
>
> *** Break *** keyboard interrupt
> /cdf/upgrade/tracking/murat/g3/test/linalg/Root>dir html
> ./ ../
> --------------------------------------------------------------------------------
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910