You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/04/07 01:30:02 UTC

[pulsar-site] branch main updated: feat: update README.md for preview cmd

This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 578978a57e feat: update README.md for preview cmd
578978a57e is described below

commit 578978a57e4b4f7f9bc5f71ffd481748afc8ac77
Author: Li Li <ur...@apache.org>
AuthorDate: Thu Apr 7 09:29:53 2022 +0800

    feat: update README.md for preview cmd
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 site2/website-next/README.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/site2/website-next/README.md b/site2/website-next/README.md
index a9b747fd3b..d59effe2bf 100644
--- a/site2/website-next/README.md
+++ b/site2/website-next/README.md
@@ -18,4 +18,12 @@ yarn start
 
 ```
 ./preview.sh 2.9.1 2.9.0 #or more versions, just split by space
-```
\ No newline at end of file
+```
+
+> Different from the old site, running yarn start only builds the docs of the latest version for your local preview. This change is specifically to reduce the build time. 
+> 
+> To build and preview the historical versions of docs in the new site, for example, 2.9.1 and 2.9.0, run the ./preview.sh 2.9.1 2.9.0 command under the pulsar-site/site2/website-next directory.
+> 
+> Note: 
+> 
+> Use space to separate version numbers, and append version numbers in the command if you want to preview more versions of docs locally.
\ No newline at end of file