Skip to content

Commit

Permalink
Using algolia...
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanpodila committed Jan 10, 2024
1 parent 6c170a2 commit 70650e6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
Binary file modified docs/design/mobx.afdesign
Binary file not shown.
25 changes: 16 additions & 9 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,23 +109,30 @@ module.exports = {
},
{ name: 'twitter:image:alt', content: 'The MobX Logo' },
],
// algolia: {
// appId: 'AMDU1T0FSC',
//
// // Public API key: it is safe to commit it
// apiKey: 'a35f8d278e5a09518b214b23d3b03bf7',
//
// indexName: 'mobx',
// },
algolia: {
appId: 'AMDU1T0FSC',

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

indexName: 'mobx',

// The following configuration is required to ensure we are not tampering the facets for Algolia
// The default values of Docusaurus are not helping in retrieving the results correctly
contextualSearch: false,
searchParameters: {
facetFilters: [],
},
},
},
plugins: [
// require.resolve('docusaurus-lunr-search'),
[
path.resolve(__dirname, './plugins/fetch-versions'),
{
indexBaseUrl: true,
},
],
require.resolve('docusaurus-lunr-search'),
function postCSSPlugin(context, options) {
return {
name: 'docusaurus-tailwindcss',
Expand Down

0 comments on commit 70650e6

Please sign in to comment.