From 111ea73c815ac35d33dc637b728db60cc5382fc0 Mon Sep 17 00:00:00 2001 From: yangjiaqi Date: Fri, 23 Dec 2022 22:16:18 +0800 Subject: [PATCH 1/3] fix download hugo url err --- contribution.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contribution.md b/contribution.md index a9b71ee75..804133bbb 100644 --- a/contribution.md +++ b/contribution.md @@ -18,10 +18,10 @@ U should ensure NPM & Hugo binary [download url](https://github.com/gohugoio/hug # 0. install npm & hugo if you don't have it # Mac version (0.95 extend) -wget https://github.do/https://github.com/gohugoio/hugo/releases/download/v0.95.0/hugo_extended_0.95.0_macOS-64bit.tar.gz +wget https://github.com/gohugoio/hugo/releases/download/v0.95.0/hugo_extended_0.95.0_macOS-64bit.tar.gz # Linux version (0.95 extend) -wget https://github.do/https://github.com/gohugoio/hugo/releases/download/v0.95.0/hugo_extended_0.95.0_Linux-64bit.tar.gz +wget https://github.com/gohugoio/hugo/releases/download/v0.95.0/hugo_extended_0.95.0_Linux-64bit.tar.gz # 解压后 hugo 是单二进制文件, 可直接使用, 或推荐放 /usr/bin 及环境变量下. sudo install hugo /usr/bin # 如果 mac 提示没有权限, 你可以直接使用它, 也可以 mv hugo /usr/bin 代替 From e4e83d386519fcedb8de9d49cf63a1f491609526 Mon Sep 17 00:00:00 2001 From: yangjiaqi Date: Fri, 23 Dec 2022 22:37:24 +0800 Subject: [PATCH 2/3] fix download hugo url err --- contribution.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contribution.md b/contribution.md index 804133bbb..ce2f33295 100644 --- a/contribution.md +++ b/contribution.md @@ -27,13 +27,13 @@ wget https://github.com/gohugoio/hugo/releases/download/v0.95.0/hugo_extended_0. sudo install hugo /usr/bin # 如果 mac 提示没有权限, 你可以直接使用它, 也可以 mv hugo /usr/bin 代替 # 1. download website's source code -git clone https://github.com/hugegraph/hugegraph-doc.git website +git clone https://github.com/hugegraph/hugegraph-doc.git master # if download slowly or failed, try the proxy url -git clone https://api.mtr.pub/hugegraph/hugegraph-doc.git website # or https://github.do/https://github.com/hugegraph/hugegraph-doc.git +git clone https://api.mtr.pub/hugegraph/hugegraph-doc.git master # or https://github.do/https://github.com/hugegraph/hugegraph-doc.git # 2. install npm dependencies in project root dir -cd website && npm install +cd master && npm install # 3. just start server in localhost now (Don't need do anything else) hugo server From d14348bf7d90bdbcfa534d3a021d1020d8ccb003 Mon Sep 17 00:00:00 2001 From: yangjiaqi Date: Fri, 23 Dec 2022 23:30:27 +0800 Subject: [PATCH 3/3] roll back dir website --- contribution.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contribution.md b/contribution.md index ce2f33295..804133bbb 100644 --- a/contribution.md +++ b/contribution.md @@ -27,13 +27,13 @@ wget https://github.com/gohugoio/hugo/releases/download/v0.95.0/hugo_extended_0. sudo install hugo /usr/bin # 如果 mac 提示没有权限, 你可以直接使用它, 也可以 mv hugo /usr/bin 代替 # 1. download website's source code -git clone https://github.com/hugegraph/hugegraph-doc.git master +git clone https://github.com/hugegraph/hugegraph-doc.git website # if download slowly or failed, try the proxy url -git clone https://api.mtr.pub/hugegraph/hugegraph-doc.git master # or https://github.do/https://github.com/hugegraph/hugegraph-doc.git +git clone https://api.mtr.pub/hugegraph/hugegraph-doc.git website # or https://github.do/https://github.com/hugegraph/hugegraph-doc.git # 2. install npm dependencies in project root dir -cd master && npm install +cd website && npm install # 3. just start server in localhost now (Don't need do anything else) hugo server