From b2c0ea34d5d8db73ae6ea503be2267a60e3ce673 Mon Sep 17 00:00:00 2001 From: suyanhanx Date: Thu, 16 Mar 2023 10:46:27 +0800 Subject: [PATCH] docs: add nodejs doc entry to website Signed-off-by: suyanhanx --- .github/workflows/docs.yml | 2 +- website/docusaurus.config.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 81f11180710a..b9c1d97fc1b5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -88,7 +88,7 @@ jobs: - name: Copy docs into build run: | - cp -r ./bindings/nodejs/docs ./website/static/docs/js + cp -r ./bindings/nodejs/docs ./website/static/docs/nodejs # Build website --------------------------------------------------- - name: Install Dependencies diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index a74327ae6068..38b974c0eaa0 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -95,6 +95,10 @@ const config = { label: 'Rust', to: 'https://opendal.databend.rs/docs/rust/opendal/' }, + { + label: 'Node.js', + to: 'https://opendal.databend.rs/docs/nodejs/' + }, ] }, {