Hello,

we use Doxygen 1.8.4 (HTML Generation for PHP Classes).

My use case is : We use it for web-designers who don't need to have
informations about namespaces, just classes and methods.

So, I found "SHOW_NAMESPACES" in the config file. After the change, it's
strange to have still namespaces Objects in Classes list, etc.

I don't know if you think it's normal, but for me and mainly for users
(web-designers) :), it's perturbing.

I propose a patch of index.cpp, I use still SHOW_NAMESPACES option, but for
"Classes List", etc... :

--- index.cpp   2013-07-01 22:14:07.000000000 +0200
+++ index.cpp.new       2013-07-01 22:14:07.000000000 +0200
@@ -2100,7 +2100,12 @@
       Doxygen::indexList->incContentsDepth();
     }
     FTVHelp* ftv = new FTVHelp(FALSE);
-    writeNamespaceTree(Doxygen::namespaceSDict,ftv,TRUE,TRUE,addToIndex);
+
+    if(Config_getBool("SHOW_NAMESPACES"))
+    {
+      writeNamespaceTree(Doxygen::namespaceSDict,ftv,TRUE,TRUE,addToIndex);
+    }
+
     writeClassTree(Doxygen::classSDict,ftv,addToIndex,TRUE);
     QGString outStr;
     FTextStream t(&outStr);

Thank you,
Hervé Seignole
Web Architect Manager
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Doxygen-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-develop

Reply via email to