def generate_namespace_doc(compound): doxylayout.header() doxylayout.navheader() doxylayout.begin_content() def title(): DocState.writer.element("span", compound.kind.title(), {"class": "compound-kind"}) DocState.writer.element("span", " " + compound.name) doxylayout.pagetitle(title) doxylayout.description(compound.briefdescription) doxylayout.description(compound.detaileddescription) doxylayout.namespace_list_inner(compound) doxylayout.end_content() doxylayout.footer()