]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Make the doc build quieter
authorBen Kaduk <kaduk@mit.edu>
Wed, 12 Dec 2012 15:36:18 +0000 (10:36 -0500)
committerBen Kaduk <kaduk@mit.edu>
Fri, 14 Dec 2012 16:02:36 +0000 (11:02 -0500)
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
doc/tools/doxybuilder_types.py
src/doc/Doxyfile.in

index c9a128263fe270b72c38ac1248dc93d657d6c128..c9b690185ea8291672bae5464c34cdc6e670b37d 100644 (file)
@@ -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()
index 0347a76aeafb83a8df9898292896fff5af3301bb..5e55391d8f1d5730790f80eb7a74ee520d48da48 100644 (file)
@@ -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):
index d2b6b32a1cfa44a6644e3e223fa813c0109995dd..2082b6d3fbc086e81ab0f5d4f40e7f43fd53a188 100644 (file)
@@ -12,3 +12,4 @@ GENERATE_XML           = YES
 PREDEFINED             = KRB5_DEPRECATED KRB5_OLD_CRYPTO
 CLASS_DIAGRAMS         = NO
 CASE_SENSE_NAMES       = NO
+QUIET                  = YES