mirror of
https://github.com/corda/corda.git
synced 2025-05-31 06:31:08 +00:00
Merged in aslemmer-dokka-all-sources (pull request #566)
docs: Use find to get all src directories for dokka
This commit is contained in:
commit
2c96bbf95c
@ -36,7 +36,12 @@ fi
|
|||||||
echo
|
echo
|
||||||
echo "Generating API docs ..."
|
echo "Generating API docs ..."
|
||||||
echo
|
echo
|
||||||
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"
|
|
||||||
|
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"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Writing robots.txt"
|
echo "Writing robots.txt"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user