bitsondatadev commented on code in PR #9943:
URL: https://github.com/apache/iceberg/pull/9943#discussion_r1532828646


##########
site/dev/common.sh:
##########
@@ -85,6 +85,26 @@ assert_not_empty () {
   fi
 }
 
+# Creates a 'nightly' version of the documentation that points to the current 
versioned docs
+# located at the root-level `/docs` directory.
+create_nightly () {
+  echo " --> create nightly"
+
+  # Remove any existing 'nightly' directory and recreate it
+  rm -rf docs/docs/nightly/

Review Comment:
   Both `nightly` and `latest` both symlink the relevant `docs` directory, and 
copy the mkdocs.yml to update `1.5.0` to `latest` and similar with nightly.
   
   ```
   /site/docs/docs/
               |
               |_nightly 
               |   |
               |   |_docs --symlink-->  /docs/docs/
               |   |_mkdocs.yaml (cp from /docs/docs/mkdocs.yaml & updated to 
"nightly")
               |
               |_latest
               |   |
               |   |_docs --symlink-->  ../1.5.0/docs/
               |   |_mkdocs.yaml (cp from ../1.5.0/mkdocs.yaml & updated to 
"latest")
               |
               |_1.5.0
               |
               |_<older_versions>



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to