aboutsummaryrefslogtreecommitdiff
path: root/build-docs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build-docs.xml')
-rw-r--r--build-docs.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/build-docs.xml b/build-docs.xml
new file mode 100644
index 00000000..a11200f4
--- /dev/null
+++ b/build-docs.xml
@@ -0,0 +1,11 @@
+<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="out/artifacts/dokka.jar"/>
+
+ <target name="document">
+ <dokka src="src" outputdir="doc" modulename="dokka">
+ <sourcelink path="." url="https://github.com/orangy/dokka/blob/master" linesuffix="#L"/>
+ </dokka>
+ </target>
+</project>