aboutsummaryrefslogtreecommitdiff
path: root/build-docs.xml
blob: 71d4c19f821d77b9a56f07b9a197edff8392cde5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<project name="Dokka" default="document">
    <!-- Demonstrates the usage of the Dokka Ant task. Assumes Dokka has already been compiled -->

    <typedef resource="dokka-antlib.xml">
        <classpath>
            <fileset dir="core/build/libs" includes="dokka-fatjar-*.jar"/>
        </classpath>
    </typedef>

    <target name="document">
        <dokka src="core/src/main/kotlin" outputdir="doc" modulename="dokka">
            <sourcelink path="." url="https://github.com/kotlin/dokka/blob/master" linesuffix="#L"/>
        </dokka>
    </target>
</project>