Skip to content

Commit

Permalink
[Documentation] Adding algolia search functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raj Karamchedu authored and aptos-bot committed May 12, 2022
1 parent 09c8b36 commit 4bfa4d9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions developer-docs-site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const config = {

presets: [
[
"classic",
"@docusaurus/preset-classic",
/** @type {import("@docusaurus/preset-classic").Options} */
({
docs: {
Expand Down Expand Up @@ -126,6 +126,13 @@ const config = {
darkTheme: darkCodeTheme,
additionalLanguages: ["rust"],
},
algolia: {
appId: 'HM7UY0NMLG',
apiKey: 'ab185b9077070c3e02dce2e381a3f81b',
indexName: 'aptos',
contextualSearch: true,
debug: false,
},
}),
plugins: [
[
Expand All @@ -142,4 +149,4 @@ const config = {
],
};

module.exports = config;
module.exports = config;

0 comments on commit 4bfa4d9

Please sign in to comment.