From 3ce96bb6d89301b10c66d70ecff385627f785b2a Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Wed, 28 Nov 2007 20:24:17 +0000 Subject: [PATCH] Fix for latest Doxygen namespace file names. And support for method groups. From Samuel Debionne. [SVN r41440] --- v2/tools/doxproc.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/v2/tools/doxproc.py b/v2/tools/doxproc.py index b2df94c24..4cbd5edd2 100644 --- a/v2/tools/doxproc.py +++ b/v2/tools/doxproc.py @@ -530,6 +530,12 @@ class Doxygen2BoostBook: def _translate_sectiondef_private_func( self, sectiondef, target=None, **kwargs ): return self._translate_sectiondef_func_(sectiondef, name='private member functions',target=target,**kwargs) + + #~ Translate: + #~
...
...
+ def _translate_sectiondef_user_defined( self, sectiondef, target=None, **kwargs ): + return self._translate_sectiondef_func_(sectiondef, + name=self._getChildData('header', root=sectiondef),target=target,**kwargs) #~ Translate: #~ @@ -829,11 +835,11 @@ def main( xmldir=None, output=None, id=None, title=None, index=False ): #~ and definitions so that lookup is unambiguous when reading in the definitions. namespace_files = filter( lambda x: - os.path.basename(x).startswith('namespace_'), + os.path.basename(x).startswith('namespace'), input) decl_files = filter( lambda x: - not os.path.basename(x).startswith('namespace_') and not os.path.basename(x).startswith('_'), + not os.path.basename(x).startswith('namespace') and not os.path.basename(x).startswith('_'), input) for dox in namespace_files: #~ print '--|',os.path.basename(dox)