[Doxygen-users] patch for reordering sections
Brought to you by:
dimitri
|
From: Hunter M. <hma...@vi...> - 2001-07-31 19:59:29
|
I have blundered into the source and found a way to create the
ordering I have recently asked about on this list. I am not posting
the patch because it is not clear I have done things the best way. I
am looking for helpful input from more experienced doxygen hackers.
Let me reduce my goal to the basics: I wanted to have "sections" under
my control that preceded the class documentation (in rtf or latex format).
After poking around I did a quick relocation of the following code
snippet to precede the other documentation sections (but after the
call to ol.lastIndexPage() )
if (documentedPages>0)
{
ol.startIndexSection(isPageDocumentation);
parseText(ol,projPrefix+theTranslator->trPageDocumentation());
ol.endIndexSection(isPageDocumentation);
}
This is in index.cpp:writeIndex().
Is there a better way to diddle the large-scale structure of the
generated doc?
BTW, is there a doxygen config file for running doxygen on the doxygen
source code. I was too obsessed to be diverted into doing something
efficiently helpful. :-) It is in fact the greatest known irony that I
manually browsed the source and did a couple greps to find out some
stuff about an automated source code document/cross-reference tool
(which reflects my own foolish laziness).
hunter
|