[Doxygen-develop] Doxygen and SHOW_NAMESPACES = no => still Namespaces in Classes list
Brought to you by:
dimitri
From: Hervé S. <her...@gm...> - 2013-07-01 20:34:09
|
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 |