Skip to content

Commit

Permalink
Make the doc build quieter
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kaduk committed Dec 14, 2012
1 parent 4dade44 commit 311347e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions doc/tools/doxybuilder_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,12 @@ def __init__(self, path):
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:
Expand All @@ -192,7 +190,6 @@ def save(self, templates, target_dir):

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()
Expand Down
6 changes: 0 additions & 6 deletions doc/tools/doxybuilder_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,12 @@ def run(self, filename, include=None):
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])
Expand Down Expand Up @@ -180,7 +177,6 @@ def _process_variable_node(self, node):

def _process_define_node(self, node):
d_name = node.xpath('./name/text()')[0]
print d_name
d_initializer = ''
d_type = ''
d_signature = ''
Expand Down Expand Up @@ -338,9 +334,7 @@ def __init__(self, xmlpath, rstpath):
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):
Expand Down
1 change: 1 addition & 0 deletions src/doc/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ GENERATE_XML = YES
PREDEFINED = KRB5_DEPRECATED KRB5_OLD_CRYPTO
CLASS_DIAGRAMS = NO
CASE_SENSE_NAMES = NO
QUIET = YES

0 comments on commit 311347e

Please sign in to comment.