From fa43c0ce05e3eb8a3e5aaca97200123c97b04545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 9 Sep 2022 17:58:16 +0200 Subject: [PATCH 1/4] ci: update site domain to js.waku.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: https://github.com/waku-org/js-waku/issues/943 Signed-off-by: Jakub Sokołowski --- README.md | 2 +- ci/README.md | 4 ++-- ci/deploy.js | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 74c9a25a82..71204ea7c0 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ A JavaScript implementation of the [Waku v2 protocol](https://rfc.vac.dev/spec/1 - [Quick start](https://docs.wakuconnect.dev/docs/quick_start/) - [Full documentation](https://docs.wakuconnect.dev/) -- [API documentation (`master` branch)](https://js-waku.wakuconnect.dev/) +- [API documentation (`master` branch)](https://js.waku.org/) - [Waku Connect](https://wakuconnect.dev/) - [Waku](https://wakunetwork.com/) - [Vac](https://vac.dev/) diff --git a/ci/README.md b/ci/README.md index 3a085eb572..945c2a4701 100644 --- a/ci/README.md +++ b/ci/README.md @@ -5,7 +5,7 @@ Configuration of CI builds executed under a Jenkins instance at https://ci.statu # Website The `Jenkinsfile.gh-pages` file builds the documentation site with this job: -https://ci.status.im/job/website/job/js-waku.wakuconnect.dev/ +https://ci.status.im/job/website/job/js.waku.org/ And deploys it via `gh-pages` branch and [GitHub Pages](https://pages.github.com/) to: -https://js-waku.wakuconnect.dev/ +https://js.waku.org/ diff --git a/ci/deploy.js b/ci/deploy.js index dc8c077c3b..c807dc2f08 100644 --- a/ci/deploy.js +++ b/ci/deploy.js @@ -9,7 +9,7 @@ const Args = process.argv.slice(2) const USE_HTTPS = Args[0] && Args[0].toUpperCase() === 'HTTPS' const branch = 'gh-pages' -const org = 'status-im' +const org = 'waku-org' const repo = 'js-waku' /* use SSH auth by default */ let repoUrl = USE_HTTPS diff --git a/package.json b/package.json index 2fc3f7f4cf..34c8e3c03a 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "watch:test": "mocha --watch", "doc": "run-s doc:*", "doc:html": "typedoc --treatWarningsAsErrors", - "doc:cname": "echo 'js-waku.wakuconnect.dev' > build/docs/CNAME", + "doc:cname": "echo 'js.waku.org' > build/docs/CNAME", "prepublish": "npm run build", "deploy": "node ci/deploy.js", "reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build" From 91fbcb5fb94e92def9959cbc394ddf29d90ced4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 9 Sep 2022 18:04:44 +0200 Subject: [PATCH 2/4] ci: fix deploy.js script to use import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub Sokołowski --- ci/deploy.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ci/deploy.js b/ci/deploy.js index c807dc2f08..e8672c0a15 100644 --- a/ci/deploy.js +++ b/ci/deploy.js @@ -1,10 +1,11 @@ -const { promisify } = require('util') -const { publish } = require('gh-pages') -const ghpublish = promisify(publish) +import { promisify } from 'util' +import { publish } from 'gh-pages' /* fix for "Unhandled promise rejections" */ process.on('unhandledRejection', err => { throw err }) +const ghpublish = promisify(publish) + const Args = process.argv.slice(2) const USE_HTTPS = Args[0] && Args[0].toUpperCase() === 'HTTPS' From 54ac43677f73da495755b6ddb5d09723b07168e9 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Sun, 11 Sep 2022 00:37:55 +1000 Subject: [PATCH 3/4] doc: fix infra link --- ci/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/README.md b/ci/README.md index 945c2a4701..0be7205fa7 100644 --- a/ci/README.md +++ b/ci/README.md @@ -5,7 +5,7 @@ Configuration of CI builds executed under a Jenkins instance at https://ci.statu # Website The `Jenkinsfile.gh-pages` file builds the documentation site with this job: -https://ci.status.im/job/website/job/js.waku.org/ +https://ci.infra.status.im/job/website/job/js.waku.org/ And deploys it via `gh-pages` branch and [GitHub Pages](https://pages.github.com/) to: https://js.waku.org/ From f47affad45e4a506ee2c5884a62ebe52d06f846a Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Sun, 11 Sep 2022 00:39:02 +1000 Subject: [PATCH 4/4] doc: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43f9cdcb4f..1f769a5967 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - `addPeerToAddressBook` is now async. +- API Docs moved to https://js.waku.org/ ## [0.26.0] - 2022-09-08