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/07/05 01:32:59 UTC

[pulsar-site] branch main updated: [feat][workflow] add instructions for previewing website changes

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 4becb528ad6 [feat][workflow] add instructions for previewing website changes
     new 4b5184c4ae1 Merge pull request #136 from Anonymitaet/07042
4becb528ad6 is described below

commit 4becb528ad6f5ccb484f2df7a973564e1f224db8
Author: Anonymitaet <an...@hotmail.com>
AuthorDate: Mon Jul 4 21:00:48 2022 +0800

    [feat][workflow] add instructions for previewing website changes
---
 site2/website-next/README.md | 30 ++----------------------------
 1 file changed, 2 insertions(+), 28 deletions(-)

diff --git a/site2/website-next/README.md b/site2/website-next/README.md
index d59effe2bfb..84089cfc4df 100644
--- a/site2/website-next/README.md
+++ b/site2/website-next/README.md
@@ -1,29 +1,3 @@
-# Website
+- For how to preview Pulsar website changes, see [Preview Website Changes](https://docs.google.com/document/d/1wszdtMRo6MhKbVaggPK7_bnKaC4TewuT--GWZZxJNGg/edit#bookmark=id.rshrr6sdmd56) in **Pulsar Content Preview Guide**.
 
-This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
-
-## Installation Dependencies
-
-```console
-yarn install
-```
-
-## Local Debug
-
-```console
-yarn start
-```
-
-## Local Preview
-
-```
-./preview.sh 2.9.1 2.9.0 #or more versions, just split by space
-```
-
-> 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
+- For more documentation guides, see [Pulsar Documentation Contribution Guide](https://docs.google.com/document/d/11DTnNPpvcPrebLkMAFcDEIFlD8ARD-k6F-LXoIwdD9Y/edit#).
\ No newline at end of file