You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/02/14 10:05:26 UTC

[GitHub] [skywalking-website] juzhiyuan commented on a change in pull request #215: Integrate project documentations into the website

juzhiyuan commented on a change in pull request #215:
URL: https://github.com/apache/skywalking-website/pull/215#discussion_r575784562



##########
File path: doc.sh
##########
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+
+repo=$1
+gitUrl=$2
+commitId=$3
+localPath=$4
+sidebarConfigFile=$5
+
+
+if [ ! -d "./tmp" ]; then
+  mkdir ./tmp
+fi
+cd ./tmp
+
+if [ ! -d "./${repo}" ]; then
+  git clone ${gitUrl}
+  cd ./${repo}
+  else
+  cd ./${repo}
+  git pull origin master
+fi
+
+git reset --hard ${commitId}
+
+if [ -d "../../${localPath}" ]; then
+  rm -rf ../../${localPath}
+fi
+mkdir -p ../../${localPath}

Review comment:
       Hi, just for sure, this `localPath` is used to store every project's docs?
   
   After pull & move those docs to that folder, do we need to make some changes to them, so after building, every project's docs would have a universal view-feeling?




----------------------------------------------------------------
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.

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