From aa7886526616e4bc85bcd0190ec93baaa606675f Mon Sep 17 00:00:00 2001 From: Ruchithprasad S Date: Tue, 23 May 2023 09:53:19 +0530 Subject: [PATCH] [Ruchith/Prashansa] Add helpcenter redirection functionality --- packages/helpcenter/index.html | 15 +++++++++++++++ packages/helpcenter/index.js | 1 + scripts/moveFiles.bash | 5 +++++ 3 files changed, 21 insertions(+) create mode 100644 packages/helpcenter/index.html create mode 100644 packages/helpcenter/index.js diff --git a/packages/helpcenter/index.html b/packages/helpcenter/index.html new file mode 100644 index 0000000..ae57574 --- /dev/null +++ b/packages/helpcenter/index.html @@ -0,0 +1,15 @@ + + + + + + + Gitbook + + + +

DPG Gitbook

+

If you are not automatically redirected to the DPG community website in a few seconds, please click on the link below

+ https://digital-public-goods.gitbook.io/navigating-this-gitbook/ + + diff --git a/packages/helpcenter/index.js b/packages/helpcenter/index.js new file mode 100644 index 0000000..1bf9daf --- /dev/null +++ b/packages/helpcenter/index.js @@ -0,0 +1 @@ +window.open("https://digital-public-goods.gitbook.io/navigating-this-gitbook/","_self"); \ No newline at end of file diff --git a/scripts/moveFiles.bash b/scripts/moveFiles.bash index 1d799b6..1edc9a7 100755 --- a/scripts/moveFiles.bash +++ b/scripts/moveFiles.bash @@ -35,4 +35,9 @@ popd pushd ../publicgoods-website/community && \ cp -a ../../publicgoods-scripts/packages/community/* . && \ git add . && \ +popd + +pushd ../publicgoods-website/helpcenter && \ + cp -a ../../publicgoods-scripts/packages/helpcenter/* . && \ + git add . && \ popd \ No newline at end of file