From 7ba1a40742251e3dcc394188464365aedcd2afa4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 16 Jan 2018 23:22:24 +0100 Subject: [PATCH] doxygen: name the function better. --- doxygen/dox2html5.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 08728a9b..510f86fe 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -1150,7 +1150,7 @@ def extract_metadata(state: State, xml): compound.brief = parse_desc(state, compounddef.find('briefdescription')) compound.has_details = compound.brief or compounddef.find('detaileddescription') compound.children = [] - compound.parent = None # is filled in by build_tree() + compound.parent = None # is filled in by postprocess_state() if compound.kind in ['class', 'struct', 'union']: # Fix type spacing @@ -1177,7 +1177,7 @@ def extract_metadata(state: State, xml): state.compounds[compound.id] = compound -def build_tree(state: State): +def postprocess_state(state: State): for _, compound in state.compounds.items(): for child in compound.children: if child in state.compounds: @@ -1942,7 +1942,7 @@ def run(doxyfile, templates=default_templates, wildcard=default_wildcard, index_ for file in xml_files_metadata: extract_metadata(state, file) - build_tree(state) + postprocess_state(state) for file in xml_files: if os.path.basename(file) == 'index.xml': -- 2.30.2