This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch site
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/site by this push:
new a746bc4523 [CALCITE-5092] Update site/README.md about how to release
the site
a746bc4523 is described below
commit a746bc4523c1f68ae2ac9143727d86a4a99bc50e
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.