Пример #1
0
def generate_file_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)

    if DocSettings.show_file_paths:
        doxylayout.file_path(compound.location)

    doxylayout.description(compound.briefdescription)
    doxylayout.description(compound.detaileddescription)

    if len(compound.innerclasses) > 0:
        doxylayout.file_list_inner_classes(compound.innerclasses)

    if len(compound.innernamespaces) > 0:
        doxylayout.file_list_inner_namespaces(compound.innernamespaces)

    doxytiny.programlisting(compound.contents)
    doxylayout.end_content()
    doxylayout.footer()
Пример #2
0
def generate_page_doc(compound):

    doxylayout.header()

    doxylayout.navheader()

    doxylayout.begin_content()

    doxylayout.pagetitle(compound.name)

    doxylayout.description(compound.briefdescription)
    doxylayout.description(compound.detaileddescription)

    doxylayout.end_content()
    doxylayout.footer()
Пример #3
0
def generate_example_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.end_content()
    doxylayout.footer()
Пример #4
0
def generate_group_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.title)

    doxylayout.pagetitle(title)

    doxylayout.description(compound.briefdescription)
    doxylayout.description(compound.detaileddescription)

    doxylayout.group_list_inner_groups(compound.innergroups)
    doxylayout.group_list_inner_classes(compound.innerclasses)
    doxylayout.group_list_inner_namespaces(compound.innernamespaces)

    doxylayout.end_content()
    doxylayout.footer()