Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algolia DocSearch for docs #27117

Merged
merged 3 commits into from
Jun 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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