From 1fd9c4d751c4e3c864fff5c691d42ca97d6d0d17 Mon Sep 17 00:00:00 2001 From: SteveSamJacob19 Date: Tue, 7 May 2024 12:02:39 +0530 Subject: [PATCH] Removed docs.sh --- scripts/build/docs.sh | 54 ------------------------------------------- 1 file changed, 54 deletions(-) delete mode 100755 scripts/build/docs.sh diff --git a/scripts/build/docs.sh b/scripts/build/docs.sh deleted file mode 100755 index a82810fd07..0000000000 --- a/scripts/build/docs.sh +++ /dev/null @@ -1,54 +0,0 @@ -set -e -export BUILD_SCRIPTS_DIR=$(dirname $0) -echo "BUILD_SCRIPTS_DIR: $BUILD_SCRIPTS_DIR" - -echo "Begin building all doc content" - -#Antora Portion of Docs -echo "Begin building of Antora portion of docs" - -$BUILD_SCRIPTS_DIR/node_install.sh - -$BUILD_SCRIPTS_DIR/antora_install.sh - -# Use the Antora playbook to download the docs and build the doc pages -timer_start=$(date +%s) -$BUILD_SCRIPTS_DIR/antora_clone_playbook.sh - -$BUILD_SCRIPTS_DIR/antora_build_docs.sh -timer_end=$(date +%s) -echo "Total execution time for cloning playbook and building docs via Antora: '$(date -u --date @$(( $timer_end - $timer_start )) +%H:%M:%S)'" - -# Copy the contents generated by Antora to the website folder -echo "Moving the Antora docs to the jekyll webapp" -timer_start=$(date +%s) -mkdir -p target/jekyll-webapp/docs/ -cp -r src/main/content/docs/build/site/. target/jekyll-webapp/ -timer_end=$(date +%s) -echo "Total execution time for copying Antora docs to webapp: '$(date -u --date @$(( $timer_end - $timer_start )) +%H:%M:%S)'" - -timer_start=$(date +%s) -python3 $BUILD_SCRIPTS_DIR/parse_features_toc.py -timer_end=$(date +%s) -echo "Total execution time for parsing the features toc: '$(date -u --date @$(( $timer_end - $timer_start )) +%H:%M:%S)'" - -echo "Finished building and prepping all Antora content" - -# Javadoc Portion of Docs -echo "Begin building javadoc content" -$BUILD_SCRIPTS_DIR/javadoc_clone.sh - -# Move the javadocs into the web app -echo "Moving javadocs to the jekyll webapp" -timer_start=$(date +%s) -cp -r src/main/content/docs-javadoc/modules target/jekyll-webapp/docs -timer_end=$(date +%s) -echo "Total execution time for copying javadoc to webapp: '$(date -u --date @$(( $timer_end - $timer_start )) +%H:%M:%S)'" - - -# Special handling for javadocs -$BUILD_SCRIPTS_DIR/javadoc_modify.sh - -echo "Finished building Javadoc content" - -echo "Finished building all doc content" \ No newline at end of file