You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/28 01:48:23 UTC

[GitHub] [pulsar-site] urfreespace commented on a diff in pull request #259: Improve TOC style, docs for CLI tools and directory structure

urfreespace commented on code in PR #259:
URL: https://github.com/apache/pulsar-site/pull/259#discussion_r1007527592


##########
site2/tools/build-site.sh:
##########
@@ -50,11 +50,8 @@ bash scripts/split-version-build.sh $@
 cd "$WEBSITE_DIR"
 
 CONTENT_DIR="$GEN_SITE_DIR"/content
-
-rm -rf "$CONTENT_DIR"
-mkdir -p "$CONTENT_DIR"
-mkdir -p "$CONTENT_DIR"/reference
-rsync -a ./docsify/ "$CONTENT_DIR"/reference
+rm -rf "$CONTENT_DIR" && mkdir -p "$CONTENT_DIR"
+cp -R static/reference "$CONTENT_DIR"
 rsync -a ./build/ "$CONTENT_DIR"

Review Comment:
   yes, thanks for @tisonkun, could you pls do a test with this code from @tisonkun's suggestion? @SignorMercurio 



-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org