forked from Kotlin/dokka
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-docs.xml
More file actions
20 lines (17 loc) · 744 Bytes
/
build-docs.xml
File metadata and controls
20 lines (17 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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="runners/fatjar/build/libs" includes="dokka-fatjar-*.jar"/>
</classpath>
</typedef>
<path id="dokka.source.path">
<pathelement location="core/src/main/kotlin"/>
<fileset dir="runners" includes="*/src/main/kotlin/**" />
</path>
<target name="document">
<dokka srcref="dokka.source.path" outputdir="doc" modulename="dokka">
<sourcelink path="." url="https://github.com/kotlin/dokka/blob/master" linesuffix="#L"/>
</dokka>
</target>
</project>