Skip to content

Build static search index#103

Merged
rochacbruno merged 1 commit intorochacbruno:mainfrom
rdenadai:static-search
Oct 30, 2024
Merged

Build static search index#103
rochacbruno merged 1 commit intorochacbruno:mainfrom
rdenadai:static-search

Conversation

@rdenadai
Copy link
Copy Markdown
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
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