diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-03-31 17:09:04 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-03-31 17:09:04 +0200 |
commit | 1c53c64e212b2373d8243a1dc2df242ee2f1a079 (patch) | |
tree | 34d0a7871634886ec24d4e6769b7cc412bb1cb54 /build-docs.xml | |
parent | e28279d0195e99d834fb4155618f0f3ceffbb0d2 (diff) | |
download | dokka-1c53c64e212b2373d8243a1dc2df242ee2f1a079.tar.gz dokka-1c53c64e212b2373d8243a1dc2df242ee2f1a079.tar.bz2 dokka-1c53c64e212b2373d8243a1dc2df242ee2f1a079.zip |
Ant task initialized paths before a project was set for it. Resolves #59
Diffstat (limited to 'build-docs.xml')
-rw-r--r-- | build-docs.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build-docs.xml b/build-docs.xml index 71d4c19f..c2d51bcf 100644 --- a/build-docs.xml +++ b/build-docs.xml @@ -7,8 +7,12 @@ </classpath> </typedef> + <path id="dokka.source.path"> + <pathelement location="core/src/main/kotlin"/> + </path> + <target name="document"> - <dokka src="core/src/main/kotlin" outputdir="doc" modulename="dokka"> + <dokka srcref="dokka.source.path" outputdir="doc" modulename="dokka"> <sourcelink path="." url="https://github.com/kotlin/dokka/blob/master" linesuffix="#L"/> </dokka> </target> |