Skip to content

Commit 019efc4

Browse files
authored
fix: Fix Orama search not working on /docs (#361)
* Fix Orama search version filter on docs * Format SearchBar override * Add @orama/react-components dependency * Resolve Orama react components import * Use direct path for Orama react components * Use static path for Orama react components * Revert "Use static path for Orama react components" This reverts commit 993e37f. * Patch fix Orama search with Docusaurus v3 * Update orama patch for version name handling * Ensure patch-package runs during build * Update config and lockfile * Revert previous changes * Updates @orama/plugin-docusaurus-v3 to 3.1.18 Updates the @orama/plugin-docusaurus-v3 dependency to the latest version, 3.1.18.
1 parent b0ba492 commit 019efc4

File tree

3 files changed

+44
-16
lines changed

3 files changed

+44
-16
lines changed

docusaurus.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const config = {
5050

5151
// https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs#configuration
5252
docs: {
53+
lastVersion: 'latest', // the last version is always "latest"
5354
editUrl: (editPage) => {
5455
// Users can not submit doc updates to the legacy versions!
5556
if (editPage.version !== 'latest' && !editPage.version.startsWith(latestMajorVersion)) {

package-lock.json

Lines changed: 42 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@docusaurus/plugin-client-redirects": "^3.9.2",
3030
"@docusaurus/preset-classic": "^3.9.2",
3131
"@mdx-js/react": "^3.1.1",
32-
"@orama/plugin-docusaurus-v3": "^3.1.16",
32+
"@orama/plugin-docusaurus-v3": "^3.1.18",
3333
"clsx": "^2.1.1",
3434
"prism-react-renderer": "^2.4.1",
3535
"react": "^18.3.1",

0 commit comments

Comments
 (0)