1 year ago

#70814

test-img

JJT

Remove methods from TOC

When generating documentation, the TOC (navigation) includes entries for classes, namespaces, and methods. I would like to remove the entries for methods; this just clutters up the TOC, since we have hundreds of methods. Is there an easy way to do this? I have edited the layout file, but I think because these are nested below that top level, it isn't in there? Or I am missing it.

<navindex>
<tab type="mainpage" visible="no" title=""/>
<tab type="pages" visible="no" title="" intro=""/>
<tab type="modules" visible="no" title="Macros" intro=""/>
<tab type="namespaces" visible="no" title=""/>
<tab type="namespacelist" visible="yes" title="" intro=""/>
  <tab type="namespacemembers" visible="no" title="" intro=""/>
  <tab type="interfaces" visible="no" title="">
  <tab type="interfacelist" visible="no" title="" intro=""/>
  <tab type="interfaceindex" visible="$ALPHABETICAL_INDEX" title=""/> 
  <tab type="interfacehierarchy" visible="no" title="" intro=""/>
</tab>
<tab type="classes" visible="no" title="Objects">
  <tab type="classlist" visible="no" title="" intro=""/>
  <tab type="classindex" visible="no" title=""/>
  <tab type="hierarchy" visible="no" title="" intro=""/>
  <tab type="classmembers" visible="no" title="" intro=""/>
</tab>
<tab type="structs" visible="no" title="">
  <tab type="structlist" visible="no" title="" intro=""/>
  <tab type="structindex" visible="no" title=""/> 
</tab>
<tab type="exceptions" visible="no" title="">
  <tab type="exceptionlist" visible="no" title="" intro=""/>
  <tab type="exceptionindex" visible="no" title=""/> 
  <tab type="exceptionhierarchy" visible="no" title="" intro=""/>
</tab>
<tab type="file" visible="no" title="">
  <tab type="filelist" visible="no" title="" intro="List"/>
  <tab type="globals" visible="no" title="" intro=""/>
</tab>
<tab type="examples" visible="no" title="" intro=""/> 
</navindex>

Update: Included an image that show what I do not want to appear in the TOC. The challenge is that I still need the documentation for these items to appear in the output. SEPARATE_MEMBER_PAGES is set to NO, so the content for these methods is on the same page as the class - I just need them removed from the navigation.

Menu

doxygen

0 Answers

Your Answer

Accepted video resources