Skip to content
Snippets Groups Projects
user avatar
Rene Brun authored
a few days later than expected, but here it is: a major update for
THtml. I've re-used a large chunk of the code that I wrote at FNAL; so
kudos to them, too! I am positive that it's not perfect yet, still IMHO
the benefit is greater than the consequences of THtml's imperfections.

THtml now parses header files and source files for documentation, and it
beautifies sources and headers alike. THtml's internals (its code
intestine) have been pulled apart a bit and rewritten to a large extent
for better maintainability. Most of the char* are replaced by TStrings.
Copying headers is now a lot faster thanks to gSystem->CopyFile.

THtml is now relying on CSS for all pages; the beautification happens
purely with CSS (and is thus customizable, once more browsers finally
allow for a custom user CSS, like Opera does). The source beautification
and the method and class doc is revamped: keywords, comments, strings,
and CPP statements are now colored, links a fancier.

Another major enhancement is THtml's ability to pick up doc from
headers. By default, functions in source files have to be documented
as always:

void MyClass::Func()
{
// doc in source.cxx
}

Now, funcs in headers can also have doc in front of the function:


git-svn-id: http://root.cern.ch/svn/root/trunk@15739 27541ba8-7e3a-0410-8455-c3a389f83636
13a8ffa6
History
Name Last commit Last update
..