Skip to content

Commit

Permalink
add algolia docsearch integration (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
xTVaser authored Feb 3, 2023
1 parent f2decc6 commit 082e3fe
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,20 @@ const config = {
// id: 'announcementBar-0', // Increment on change
// content: `test`,
// },
// TODO - Algolia Integration
algolia: {
// The application ID provided by Algolia
appId: "TR9JNR7TSP",
// Public API key: it is safe to commit it
apiKey: "a63d89935faca83290750981be9a313c",
indexName: "pcsx2",
// Optional: see doc section below
contextualSearch: true,
// Optional: Algolia search parameters
searchParameters: {},
// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: "search",
//... other Algolia params
},
colorMode: {
defaultMode: "dark",
disableSwitch: false,
Expand Down Expand Up @@ -155,10 +168,10 @@ const config = {
label: "Donate",
position: "right",
},
// {
// type: 'search',
// position: 'right',
// },
{
type: "search",
position: "right",
},
{
to: "https://forums.pcsx2.net/",
label: "Forums",
Expand Down

0 comments on commit 082e3fe

Please sign in to comment.