Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docusaurus-lunr-search plugin #1221

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

InAnYan
Copy link
Contributor

@InAnYan InAnYan commented Jun 3, 2024

Issue

#1219

Change

Added the docusaurus-lunr-search plugin.

It may seem that for search feature we would need a server. But nothing stops us from passing that logic to the client)

So, if the index for pages is not too big, we will delegate the search functionality to client. That's what this plugin does (I think).

It works with npm run serve, but I couldn't test it with just opening the index.html file.

Oh, I'm sorry, my editor autoformatted the file)

General checklist

  • There are no breaking changes
  • I have added unit and integration tests for my change
  • I have manually run all the unit and integration tests in the core and main modules, and they are all green
  • I have manually run all the unit and integration tests in the module I have added/changed, and they are all green

@langchain4j langchain4j added the P3 Medium priority label Jun 3, 2024
@InAnYan InAnYan marked this pull request as ready for review June 6, 2024 13:14
LizeRaes added a commit that referenced this pull request Jun 11, 2024
Well, well, I'm not a front-end guy and therefore not super confortable
with NPM and Node.

I've updated Docusaurus so it runs the latest version and to see if I
can add search and single-page to the documentation.

Hope this runs on CI/CD

Also see #1221

Co-authored-by: Lize Raes <[email protected]>
jiangsier-xyz pushed a commit to jiangsier-xyz/langchain4j that referenced this pull request Jun 11, 2024
Well, well, I'm not a front-end guy and therefore not super confortable
with NPM and Node.

I've updated Docusaurus so it runs the latest version and to see if I
can add search and single-page to the documentation.

Hope this runs on CI/CD

Also see langchain4j#1221

Co-authored-by: Lize Raes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Medium priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants