Skip to content

Commit

Permalink
docusearch (apache#19289)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAfghahi authored and michael_hoffman committed Mar 23, 2022
1 parent ec2d0bf commit e6b563b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
13 changes: 7 additions & 6 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ const config = {
favicon: 'img/favicon.ico',
organizationName: 'apache', // Usually your GitHub org/user name.
projectName: 'superset', // Usually your repo name.
themes: [
'@saucelabs/theme-github-codeblock'
],
plugins: [
themes: ['@saucelabs/theme-github-codeblock'],
plugins: [
[
'@docusaurus/plugin-client-redirects',
{
Expand Down Expand Up @@ -159,6 +157,11 @@ const config = {
defaultMode: 'light',
disableSwitch: true,
},
algolia: {
appId: 'WR5FASX5ED',
apiKey: '299e4601d2fc5d0031bf9a0223c7f0c5',
indexName: 'superset-apache',
},
navbar: {
logo: {
alt: 'Superset Logo',
Expand Down Expand Up @@ -237,8 +240,6 @@ const config = {
darkTheme: darkCodeTheme,
},
}),


};

module.exports = config;
18 changes: 9 additions & 9 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@docsearch/react": "^3.0.0",
"@docusaurus/core": "^2.0.0-beta.15",
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.15",
"@docusaurus/preset-classic": "^2.0.0-beta.15",
Expand Down

0 comments on commit e6b563b

Please sign in to comment.