Skip to content

Commit

Permalink
Algolia DocSearch for docs (#27117)
Browse files Browse the repository at this point in the history
* Test algolia plugin'

* use our api key

* update appId and indexName to point to our index
  • Loading branch information
erohmensing committed Jun 7, 2023
1 parent 715c595 commit 60f238a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docusaurus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 5 additions & 1 deletion docusaurus/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
{
Expand Down Expand Up @@ -139,6 +138,11 @@ const config = {
autoCollapseCategories: true,
},
},
algolia: {
appId: 'OYKDBC51MU',
apiKey: '15c487fd9f7722282efd8fcb76746fce', // Public API key: it is safe to commit it
indexName: 'airbyte',
},
navbar: {
title: "",
logo: {
Expand Down

0 comments on commit 60f238a

Please sign in to comment.