This is an automated email from the ASF dual-hosted git repository.
libenchao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new 5990904913 [CALCITE-5092] Update site/README.md about how to release
the site
5990904913 is described below
commit 5990904913e2d2b1aae6ee07c83631687fe774cc
Author: Benchao Li <[email protected]>
AuthorDate: Fri Aug 5 08:42:52 2022 +0800
[CALCITE-5092] Update site/README.md about how to release the site
This closes #2866
---
site/README.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/site/README.md b/site/README.md
index 9cb7f54195..8dba40aea2 100644
--- a/site/README.md
+++ b/site/README.md
@@ -93,3 +93,11 @@ You can preview your work while working on the site.
The web server will be started on
[http://localhost:4000](http://localhost:4000)
As you make changes to the site, the site will automatically rebuild.
+
+# Publishing the website
+
+Publishing the website is usually simple, you just need to copy the newly
generated site content to the
[calcite-site](https://github.com/apache/calcite-site) repository.
+
+But sometimes, especially when we upgraded Jekyll version, the `js` and `css`
files may be renamed or removed, copying will not remove these stale files in
calcite-site.
+
+Hence, a safer way is to remove the old files in calcite-site for the first
step, then do the copying.