daKmoR / rocket

Move to https://github.com/modernweb-dev/rocket/
MIT License
13 stars 5 forks source link

feat: alpha plugin system & search #55

Closed daKmoR closed 4 years ago

daKmoR commented 4 years ago

What I did:

  1. Replace 11ty filter with using 11ty writer
  2. 11ty now watches its own thing and updates a "cache" of files for DevServer
  3. Starting a very simple plugin system (still need to think more about it...)
  4. Use that plugin system to provide start and build (now both are simpler and don't know anything about 11ty)
  5. Adds a search plugin that slices the final html into blocks (from headline to headline) and then stores that data (title, headline, text, id) in a search index from minisearch. We can then offer rocket search to query this index and return the data. => Opens up the possibility to later store index as json and provide an offline-capable search/autocomplete for the frontend as well 👍
changeset-bot[bot] commented 4 years ago

🦋 Changeset detected

Latest commit: d433d224c65784f7ee45160321b6877a9d5e8004

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR