nastra commented on code in PR #9943: URL: https://github.com/apache/iceberg/pull/9943#discussion_r1522870334
########## 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/ + mkdir docs/docs/nightly/ + + # Create symbolic links and copy configuration files for the 'nightly' documentation + ln -s "../../../../docs/docs/" docs/docs/nightly/docs + cp "../docs/mkdocs.yml" docs/docs/nightly/ Review Comment: can we make this a symlink as well? Otherwise you won't see changes made to the navigation -- 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