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}"