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

Build static search index #103

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

rdenadai
Copy link
Contributor

I built the static search using Fuse.jsas suggested on the original feat #19 ...

Here a video showing the final result:

marmite-2024-10-30_14.53.45.mp4
  • Added the cli --enable-search to build the project with search enable feature.

  • Tryed to make the search_index.json short (removing anything from html tags on the html var);

  • Pull all the js from cdnjs (also migrated the Highlightjs to cdnjs also);

  • Added 'serde_json' as dep (i need it to create the final json);

  • Closes

@rochacbruno rochacbruno merged commit 1c2615a into rochacbruno:main Oct 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants