From aaf988319f7f82925da5b833ef519aa6a8c18601 Mon Sep 17 00:00:00 2001 From: erohmensing Date: Thu, 6 Apr 2023 10:27:24 -0500 Subject: [PATCH 1/3] Test algolia plugin' --- docusaurus/docusaurus.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index d1035e5f2a64..48c38150fdec 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -20,7 +20,6 @@ const config = { projectName: "airbyte", // Usually your repo name. plugins: [ - [require.resolve("@cmfcmf/docusaurus-search-local"), { indexBlog: false }], [ "@docusaurus/plugin-client-redirects", { @@ -139,6 +138,11 @@ const config = { autoCollapseCategories: true, }, }, + algolia: { + appId: 'R2IYF7ETH7', + apiKey: '599cec31baffa4868cae4e79f180729b', // Public API key: it is safe to commit it + indexName: 'docsearch', + }, navbar: { title: "", logo: { From 109849091af59540c4dbdcf18fe3be9ce0836920 Mon Sep 17 00:00:00 2001 From: erohmensing Date: Wed, 7 Jun 2023 09:09:34 -0500 Subject: [PATCH 2/3] use our api key --- docusaurus/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index 48c38150fdec..efb53e1283d8 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -140,7 +140,7 @@ const config = { }, algolia: { appId: 'R2IYF7ETH7', - apiKey: '599cec31baffa4868cae4e79f180729b', // Public API key: it is safe to commit it + apiKey: '15c487fd9f7722282efd8fcb76746fce', // Public API key: it is safe to commit it indexName: 'docsearch', }, navbar: { From 77396a2656b2d9c72c77493130b61dc0a637f231 Mon Sep 17 00:00:00 2001 From: erohmensing Date: Wed, 7 Jun 2023 09:42:39 -0500 Subject: [PATCH 3/3] update appId and indexName to point to our index --- docusaurus/README.md | 4 ++-- docusaurus/docusaurus.config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docusaurus/README.md b/docusaurus/README.md index 7c8b5cf0a0e9..f03e15d4c705 100644 --- a/docusaurus/README.md +++ b/docusaurus/README.md @@ -28,13 +28,13 @@ yarn start # any changes will automatically be reflected in your browser! ## Making Changes -All the content for docs.airbute.com lives in the `/docs` directory in this repo. All files are markdown. Make changes or add new files, and you should see them in your browser! +All the content for docs.airbyte.com lives in the `/docs` directory in this repo. All files are markdown. Make changes or add new files, and you should see them in your browser! If you have created any new files, be sure to add them manually to the table of contents found here in this [file](https://github.com/airbytehq/airbyte/blob/master/docusaurus/sidebars.js) ## Plugin Client Redirects -A silly name, but a useful plugin that adds redirect functionality to docusuaurs +A silly name, but a useful plugin that adds redirect functionality to docusaurus [Official documentation here](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-client-redirects) You will need to edit [this docusaurus file](https://github.com/airbytehq/airbyte/blob/master/docusaurus/docusaurus.config.js#L22) diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index efb53e1283d8..6c7ca0027a07 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -139,9 +139,9 @@ const config = { }, }, algolia: { - appId: 'R2IYF7ETH7', + appId: 'OYKDBC51MU', apiKey: '15c487fd9f7722282efd8fcb76746fce', // Public API key: it is safe to commit it - indexName: 'docsearch', + indexName: 'airbyte', }, navbar: { title: "",