Revert "docs: Use find to get all src directories for dokka"

This reverts commit 3a10d504d3.
This commit is contained in:
Mike Hearn 2016-11-29 11:22:29 +00:00
parent 8e836bc279
commit ac93eb3cd6

View File

@ -36,12 +36,7 @@ fi
echo
echo "Generating API docs ..."
echo
SOURCES=$(find . \( -wholename "*src/main/kotlin" -or -wholename "*src/main/java" \) -and -not -wholename "./samples/*")
TARGET=docs/build/html/api
java -jar lib/dokka.jar -output $TARGET $SOURCES | grep -v "No documentation for"
echo "Generated documentation to $TARGET"
java -jar lib/dokka.jar -output docs/build/html/api core/src/main/kotlin finance/src/main/kotlin node/src/main/kotlin client/src/main/kotlin | grep -v "No documentation for"
echo
echo "Writing robots.txt"