manuzhang commented on code in PR #13664:
URL: https://github.com/apache/iceberg/pull/13664#discussion_r2278265126


##########
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:
   Do we need to create the latest version? I think we only work on nightly 
version.



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