venta: (Default)
[personal profile] venta
Does anyone know much about doxygen?

I am generating a whole bunch of html files from some C++ headers. The per-function documentation pages I get out all have the following element:

<div class="navtab">
....
</div>


which forms a sort of sidebar-style index to all the other functions whose docs were generated from the header.

I don't want this to be present. I thought that GENERATE_TREEVIEW=NO in the config file would suppress it, but it doesn't. (At least, it doesn't using doxygen 1.5.4 or 1.7.4, and I can't find any references online to it being broken. So maybe that isn't what that switch is meant to do, though it sounds like it in the docs.)

DISABLE_INDEX=YES also isn't the right answer - that disables a different bit of auto-generated guff which I also don't want.

Does anyone:
(a) know what GENERATE_TREEVIEW actually governs?
(b) know what switch I need to set to suppress this sidebar-index thing?
(c) as a last resort, have any ideas of how to painlessly remove a div element and all its contents from an html document? (I have no experience of Perl or anything like that, though I suspect I may be about to acquire some if (b) cannot be solved.)

Auxiliary comment: no, I can't just hide the div element using CSS. Well, I can, obviously. But it's not good enough. I actually need that element removed from the html.

Date: 2011-08-12 11:41 pm (UTC)
From: [identity profile] thefon.livejournal.com
At what point does the div need to be removed? Can you just remove it with javascript?

Date: 2011-08-13 06:40 am (UTC)
From: [identity profile] venta.livejournal.com
I have a makefile which generates some docs from doxygen comments (and also generates some more docs from a bunch of DocBook XML, and so on).

Shortly afterwards, it builds all those docs into a .chm file using the utterly nasty M$ HTMLHelp, and also into a zip in the format Eclipse understands.

Somewhere between those two stages, I need to remove it. I have no idea if you can call Javascript from a makefile, but it doesn't sound like the natural route to go down to me :)

Profile

venta: (Default)
venta

December 2025

S M T W T F S
 123456
78910111213
14151617181920
212223 24252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 27th, 2025 03:46 pm
Powered by Dreamwidth Studios