[27397] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Make the doc build quieter

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Fri Dec 14 11:06:03 2012

Date: Fri, 14 Dec 2012 11:06:00 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
Message-Id: <201212141606.qBEG60bb023056@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/311347e5e9d9208e2d341b8f8aed37791a4de090
commit 311347e5e9d9208e2d341b8f8aed37791a4de090
Author: Ben Kaduk <kaduk@mit.edu>
Date:   Wed Dec 12 10:36:18 2012 -0500

    Make the doc build quieter
    
    Don't print out every node processed (or not processed) in the
    doxygen-Sphinx bridge, nor print out a summary of how many types
    or functions were processed.
    
    While here, tell doxygen to be quiet in its output as well, and
    not print out each file that is generated.  It still outputs
    warnings, though.
    
    ticket: 7495 (new)
    tags: pullup
    target_version: 1.11

 doc/tools/doxybuilder_funcs.py |    3 ---
 doc/tools/doxybuilder_types.py |    6 ------
 src/doc/Doxyfile.in            |    1 +
 3 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/doc/tools/doxybuilder_funcs.py b/doc/tools/doxybuilder_funcs.py
index c9a1282..c9b6901 100644
--- a/doc/tools/doxybuilder_funcs.py
+++ b/doc/tools/doxybuilder_funcs.py
@@ -169,14 +169,12 @@ class DoxyFuncs(XML2AST):
     def run(self):
         for node in self.document:
             self.process(node)
-        print "\nnumber of functions processed ===> ",len(self.objects)
 
     def process(self, node):
         node_type = node.attributes['kind']
         if node_type == 'function':
             data = self._process_function_node(node)
         else:
-            print 'not processing node: %s' % node_type
             return
 
         if 'name' in data and data['name'] in exclude_funcs:
@@ -192,7 +190,6 @@ class DoxyFuncs(XML2AST):
 
     def _process_function_node(self, node):
         f_name = node.children['name'][0].getContent()
-        print f_name
         f_Id = node.attributes['id']
         f_ret_type = self._process_type_node(node.children['type'][0])
         f_brief = node.children['briefdescription'][0].getContent()
diff --git a/doc/tools/doxybuilder_types.py b/doc/tools/doxybuilder_types.py
index 0347a76..5e55391 100644
--- a/doc/tools/doxybuilder_types.py
+++ b/doc/tools/doxybuilder_types.py
@@ -94,15 +94,12 @@ class DoxyTypes(object):
                 if 'name' in data and data['name'] in exclude_types:
                     continue
                 result.append(data)
-        print "\nnumber of types processed ==> " , len(result)
         return result
 
 
     def _process_typedef_node(self, node):
         t_name = node.xpath('./name/text()')[0]
 
-        print  t_name
-
         t_Id = node.attrib['id']
         t_definition = node.xpath('./definition/text()')[0]
         t_type = self._process_type_node(node.xpath("./type")[0])
@@ -180,7 +177,6 @@ class DoxyTypes(object):
 
     def _process_define_node(self, node):
         d_name = node.xpath('./name/text()')[0]
-        print  d_name
         d_initializer = ''
         d_type = ''
         d_signature = ''
@@ -338,9 +334,7 @@ class DoxyTypesTest(DoxyTypes):
         super(DoxyTypesTest,self).__init__(xmlpath)
 
     def run_tests(self):
-        print "Process typedef's"
         self.test_process_typedef_node()
-        print "Process define's"
         self.test_process_define_node()
 
     def test_run(self):
diff --git a/src/doc/Doxyfile.in b/src/doc/Doxyfile.in
index d2b6b32..2082b6d 100644
--- a/src/doc/Doxyfile.in
+++ b/src/doc/Doxyfile.in
@@ -12,3 +12,4 @@ GENERATE_XML           = YES
 PREDEFINED             = KRB5_DEPRECATED KRB5_OLD_CRYPTO
 CLASS_DIAGRAMS         = NO
 CASE_SENSE_NAMES       = NO
+QUIET                  = YES
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post