Closed
Description
I have created an extension to DITA Bootstrap for a search box which incorporates a lunr.js search function. You can see the source code here and examples of the result can be seen here and here
I'm now wondering what to do next. 🤷
Thoughts
Although the generation of the lunr search index is generic, the display of the results is currently very tightly bound to the structure of the HTML created by the DITA Bootstrap plugin, and I'm wondering how to incorporate this in a coherent manner.
- Lunr.js search shouldn't be part of the main DITA Bootstrap plugin - there are plenty of other sensible options - e.g. Solr, Algolia, Google etc. - this is just one way of doing it.
- Since Lunr.js search is so tightly bound, the repo would be better placed somewhere under your account - i.e.
infotexture/dita-bootstrap.lunr
rather minejason-fox/dita-bootstrap.lunr
- it would be more discoverable that way. - For Documentation, it would be possible to add in another topic in the DITA Bootstrap docs under Extend like Icons or Dark Mode
- The CI generated GitHub Action can be altered to add search of course.
Questions
So the question is what should happen next? Would it lie better under your account or mine? Should I cede it over to you and you give me back collaborator access or should I leave it where it is? How should I go about raising a documentation PR?
What are your thoughts?