krb5 commit [krb5-1.11]: Make the doc build quieter
Tom Yu
tlyu at MIT.EDU
Sun Dec 16 21:30:43 EST 2012
https://github.com/krb5/krb5/commit/d7493c11d9b23301be86f2856f990bc074e1e07f
commit d7493c11d9b23301be86f2856f990bc074e1e07f
Author: Ben Kaduk <kaduk at 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.
(cherry picked from commit 311347e5e9d9208e2d341b8f8aed37791a4de090)
ticket: 7495
version_fixed: 1.11
status: resolved
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
More information about the cvs-krb5
mailing list