Skip to content

Commit

Permalink
Search bar (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukanvisapearyoo authored May 7, 2024
1 parent e444930 commit f8d3491
Show file tree
Hide file tree
Showing 3 changed files with 316 additions and 2 deletions.
17 changes: 16 additions & 1 deletion docsite/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';

const config: Config = {

title: 'react-native-mediapipe',
tagline: 'A React Native Camera and Player for MediaPipe applications',
favicon: 'img/favicon.ico',
Expand All @@ -28,6 +29,7 @@ const config: Config = {
defaultLocale: 'en',
locales: ['en'],
},


presets: [
[
Expand All @@ -47,6 +49,9 @@ const config: Config = {
],
],




themeConfig: {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
Expand Down Expand Up @@ -113,6 +118,16 @@ const config: Config = {
darkTheme: prismThemes.dracula,
},
} satisfies Preset.ThemeConfig,

// ...
plugins: [require.resolve("@cmfcmf/docusaurus-search-local")],





};

export default config;

export default config;

1 change: 1 addition & 0 deletions docsite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"typecheck": "tsc"
},
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^1.1.0",
"@docusaurus/core": "3.2.0",
"@docusaurus/preset-classic": "3.2.0",
"@mdx-js/react": "^3.0.0",
Expand Down
Loading

0 comments on commit f8d3491

Please sign in to comment.