From cdf37dc0a664a0f5b02ae00523012c1be37e2e7d Mon Sep 17 00:00:00 2001 From: Sam Judd Date: Tue, 28 Mar 2023 21:54:26 -0700 Subject: [PATCH] Use the dokka command to build scripts/update_javadocs.sh --- scripts/update_javadocs.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/update_javadocs.sh b/scripts/update_javadocs.sh index 4a16171955..481231bb09 100755 --- a/scripts/update_javadocs.sh +++ b/scripts/update_javadocs.sh @@ -43,12 +43,9 @@ fi git checkout master GIT_COMMIT_SHA="$(git rev-parse HEAD)" -./gradlew clean releaseJavadocJar javadoc +./gradlew dokkaHtmlMultiModule rm -rf $TEMP_DIR -cp -r glide/build/docs/javadoc $TEMP_DIR - -# Add the favicon to the javadocs pages. -find $TEMP_DIR -name '*.html' -exec sed -i '' -e 's###' {} \; +cp -r build/dokka/htmlMultiModule $TEMP_DIR git checkout gh-pages rm -rf "${JAVADOC_GH_PAGES_DIR}/${version}"