Skip to content

Commit

Permalink
Merge pull request #30 from rcsoccersim/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
hidehisaakiyama authored Dec 28, 2024
2 parents 0c794cb + ec6eb93 commit 031f311
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 31 deletions.
32 changes: 32 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,38 @@ const config: Config = {
crossorigin: 'anonymous',
},
],
algolia: {
// The application ID provided by Algolia
appId: '8RI3GOTRQI',

// Public API key: it is safe to commit it
apiKey: '88ae4eb7b0884d01c7df879791db55e5',

indexName: 'rcsoccersimio',

// Optional: see doc section below
contextualSearch: true,

// Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them.
externalUrlRegex: 'external\\.com|domain\\.com',

// Optional: Replace parts of the item URLs from Algolia. Useful when using the same search index for multiple deployments using a different baseUrl. You can use regexp or string in the `from` param. For example: localhost:3000 vs myCompany.com/docs
replaceSearchResultPathname: {
from: '/docs/', // or as RegExp: /\/docs\//
to: '/docs/',
},

// Optional: Algolia search parameters
searchParameters: {},

// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: 'search',

// Optional: whether the insights feature is enabled or not on Docsearch (`false` by default)
insights: false,

//... other Algolia params
},
} satisfies Preset.ThemeConfig,
markdown: {
mermaid: true,
Expand Down
55 changes: 24 additions & 31 deletions package-lock.json

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

0 comments on commit 031f311

Please sign in to comment.