如何在Gradle中构建doxygen文档?

时间:2015-10-26 09:04:21

标签: gradle documentation doxygen build.gradle

我在Android Studio中使用 Gradle 。我想通过 org.ysb33r.gradle.doxygen.Doxygen 通过 Doxygen 制作文档。

目前我在 build.gradle 文件中有这个:

   import org.ysb33r.gradle.doxygen.Doxygen

    // (...)

    doxygen {
        generate_html       true
        source              new File(projectDir,'src/main/headers')
        exclude             'build/'
        template            'template'
        outputDir           new File(projectDir,'docs/dox')
        html_header         new File(projectDir,'templete/header.html')
        html_footer         new File(projectDir,'templete/footer.html')
        html_stylesheet     new File(projectDir,'templete/customdoxygen.css')
        project_logo        new File(projectDir, 'template/finanteq_logo_doc.png')
        html_extra_files    new File(projectDir, 'template/favicon.ico')
        file_paterns        '*.java', '*.class','*.md'
        recursive           true
        exclude_paterns     '**/R.java', 'androidTest', '**/Test*.java'
    }

    //(...)

    task doxygenTask (type: Doxygen) {
        generate_latex true
        generate_html  true
    }

接下来我该怎么办?

1 个答案:

答案 0 :(得分:0)

示例 build.gradle

import csv

with open('SampleList.csv', 'r') as csvfile:
    reader = csv.reader(csvfile, delimiter=',')
    for row in reader:
        print row