THtml - how to define/link modules?

Hi,

I want to create html documentation with THtml and I have read the documentation and tried around a lot but I just don’t get it. How can I produce a HTML doc in which the modules are organized correctly in the modules section? I have a directory structure like this:

MvtLibs/
MvtLibs/libMvtCommon
MvtLibs/libMvtCommon/include
MvtLibs/libMvtCommon/src

MvtLibs/libMvtIO
MvtLibs/libMvtIO/include
MvtLibs/libMvtIO/src

so the different libs are my modules. If I now generate html doc from inside the MvtLibs directory and specify:

THtml h
h.SetInputDir("libMvtCommon/src:libMvtCommon/include")
h.MakeAll();

I get a module called “SRC” (obviously taken from the source directory name") with all the classes in libMvtCommon. But I do not know what I have to do to change the module name to LIBMVTCOMMON or similar. And then, how can I generate the documentation in a way that I get a single documentation linking to the different libraries as modules and not just one library? It seems as if adding the src and include directories of these libraries is not enough. I really have no clue and judging from the posts in the forum which I read through I am not the only one. A more detailed example in the reference guide would be helpful, e.g., I guess.

Thanks a lot!

best,
Daniel

Hi,

You can either try to tweak the input paths as you did. If that doesn’t work, you could implement your own class deriving from THtml::TModuleDefinition reimplementing its GetModule() and pass an object of that class to THtml::SetModuleDefinition().

Cheers, Axel.