xref: /aosp_15_r20/external/dokka/build-docs.xml (revision 1b2d298c530bf0473cc943e8414a5ff577a994bc)
1*1b2d298cSOwner Cleanup Bot<project name="Dokka" default="document">
2*1b2d298cSOwner Cleanup Bot    <!-- Demonstrates the usage of the Dokka Ant task. Assumes Dokka has already been compiled -->
3*1b2d298cSOwner Cleanup Bot
4*1b2d298cSOwner Cleanup Bot    <typedef resource="dokka-antlib.xml">
5*1b2d298cSOwner Cleanup Bot        <classpath>
6*1b2d298cSOwner Cleanup Bot            <fileset dir="runners/fatjar/build/libs" includes="dokka-fatjar-*.jar"/>
7*1b2d298cSOwner Cleanup Bot        </classpath>
8*1b2d298cSOwner Cleanup Bot    </typedef>
9*1b2d298cSOwner Cleanup Bot
10*1b2d298cSOwner Cleanup Bot    <path id="dokka.source.path">
11*1b2d298cSOwner Cleanup Bot        <pathelement location="core/src/main/kotlin"/>
12*1b2d298cSOwner Cleanup Bot        <fileset dir="runners" includes="*/src/main/kotlin/**" />
13*1b2d298cSOwner Cleanup Bot    </path>
14*1b2d298cSOwner Cleanup Bot
15*1b2d298cSOwner Cleanup Bot    <target name="document">
16*1b2d298cSOwner Cleanup Bot        <dokka srcref="dokka.source.path" outputdir="doc" modulename="dokka">
17*1b2d298cSOwner Cleanup Bot            <sourcelink path="." url="https://github.com/kotlin/dokka/blob/master" linesuffix="#L"/>
18*1b2d298cSOwner Cleanup Bot        </dokka>
19*1b2d298cSOwner Cleanup Bot    </target>
20*1b2d298cSOwner Cleanup Bot</project>
21