yeswanth-s1th commented on code in PR #13664:
URL: https://github.com/apache/iceberg/pull/13664#discussion_r2296375710


##########
site/dev/common.sh:
##########
@@ -233,6 +235,26 @@ pull_versioned_docs () {
   create_nightly  
 }
 
+# Sets up local worktrees for the documentation and performs operations 
related to different versions.
+pull_local_docs () {
+  echo " --> pull local docs"
+
+  mkdir -p docs/docs
+  mkdir -p docs/javadoc
+
+  # Retrieve the latest version of documentation for processing
+  local latest_version=$(get_latest_version)
+
+  # Output the latest version for debugging purposes
+  echo "Latest version is: ${latest_version}"
+
+  # Create the 'latest' version of documentation
+  create_latest "${latest_version}"

Review Comment:
   That’s a good point: for the fast-path (--local) build, we don’t actually 
need to generate the latest version. Skipping it speeds things up. I’ll update 
the local path so it only creates (or symlinks) the nightly version, leaving 
the full latest creation only in normal builds.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to